๐Products
Creating, reading, updating and deleting products
Last updated
Creating, reading, updating and deleting products
Last updated
Gets all the products in a store, does not use pagination but in turn only returns a reference which redacts a lot
of data from the product. Requires the Scopes.ViewProducts
permissions
The ID of the store to get all the products for
The object was successfully returned.
Whether the operation was successful
The optional message given by the operation
The optional return data from the operation
Finds and returns a product by it's ID, requires the Scopes.ViewProducts
permission
The ID of the store the product belongs to
The ID of the product to get
The object was successfully returned.
Whether the operation was successful
The optional message given by the operation
Represents a product that is registered to a store
Removes an image from a product, uses the file name of the image used to access it from S3, requires the
Scopes.UpdateProducts
permission
The ID of the store the product belongs to
The ID of the product the image belongs to
The file name of the image to remove
The object was successfully deleted.
Whether the operation was successful
The optional message given by the operation
Represents a product that is public facing, like on the marketplace
Gets and returns the paginated and public reviews for a product, does not require authorization
The ID of the product to get the reviews for
The page to select when viewing the reviews
The object was successfully returned.
Whether the operation was successful
The amount of pages there are
The data for the page
Updates a product in a store, requires the Scopes.UpdateProducts
permission
The ID of the store the product belongs to
The ID of the product to update
The form containing the new product details to update
The name of the product, this is displayed publicly on the store page and marketplace
The cost of the product
Whether the system should ignore if the product is "Out of stock" and allow purchasing the product anyway, mandatory for dynamic products
Whether the product is a dynamic product type, in this case the response from the webhook will dictate the item
The tags on the product, very helpful for boosting the products SEO on the marketplace
The webhook URL to send dynamic product requests and just delivery notifications to
The description of the product, supports markdown and images from Imgur only
List of product visibility (or privacy) levels
The message to put on the completed delivery email when the product has been delivered
The custom field names to prompt the user with when buying the product
The minimum quantity required to buy the product, defaults to 1
The maximum quantity the user is allowed to buy for the product, -1 = no limit
Whether VPNs and proxies are blocked from purchasing the product, very good for Stripe
The array of blacklisted payment methods for the specific product, must be a valid SellSN payment method ID
Whether the product should be marked as a best seller on the users store page, does nothing for the marketplace
Success
Clears and completely resets the items associated with a product, requires the Scopes.UpdateProducts
permission
The ID of the store the product belongs to
The ID of the product whose items should be cleared
The operation was successfully completed.
Whether the operation was successful
The optional message given by the operation
The optional return data from the operation
Gets the items associated with a product which will be given on delivery, requires the
Scopes.ViewProducts
permission
The ID of the store the product belongs to
The ID of the product to get the items from
The page to select when viewing the items
The object was successfully returned.
Whether the operation was successful
The amount of pages there are
The data for the page
Adds a new image to the product, the image must be PNG, JPG, WebP or GIF and below 30 megabytes in size, requires
the Scopes.UpdateProducts
permission
The ID of the store the product belongs to
The ID of the product to add the image to
The object was successfully created.
Whether the operation was successful
The optional message given by the operation
Represents a product that is registered to a store
Adds a file to the product, there can only be one file uploaded to a product at a time for delivery and this will
replace any existing file, requires the Scopes.UpdateProducts
permission
The ID of the store the product belongs to
The ID of the product the file should be uploaded to
The object was successfully created.
Whether the operation was successful
The optional message given by the operation
Represents a product that is registered to a store
Adds a list of items to the given product, requires the Scopes.UpdateProducts
permission
The ID of the store the product belongs to
The ID of the product the items should be added to
The form containing the new items to add to the product
The array of items to add to the product, this will append the items to the end of the existing items
The object was successfully created.
Whether the operation was successful
The optional message given by the operation
The optional return data from the operation
Removes all the items in the given form from the product, requires the Scopes.UpdateProducts
permission
The ID of the store the product belongs to
The ID of the product to remove the items from
The form containing all the items to remove from the product
The array of items to add to the product, this will append the items to the end of the existing items
The object was successfully deleted.
Whether the operation was successful
The optional message given by the operation
The optional return data from the operation
Sets a custom fee for a specific product in a store, requires the Scopes.UpdateProducts
permission
The ID of the store that the product belongs to
The ID of the product to set the fees for
The form containing the custom additional fee data
The payment method to set the fee percentage for, must be a valid SellSN payment method ID
The fee percentage to apply for the specific payment method, leave as null to remove the existing fee
The object was successfully updated.
Whether the operation was successful
The optional message given by the operation
The optional return data from the operation
Creates a new product in the given store, requires the Scopes.CreateProducts
permission
The ID of the store to create the product in
The form containing the new product details
The name of the product, this is displayed publicly on the store page and marketplace
The cost of the product
Whether the system should ignore if the product is "Out of stock" and allow purchasing the product anyway, mandatory for dynamic products
Whether the product is a dynamic product type, in this case the response from the webhook will dictate the item
The tags on the product, very helpful for boosting the products SEO on the marketplace
The webhook URL to send dynamic product requests and just delivery notifications to
The description of the product, supports markdown and images from Imgur only
List of product visibility (or privacy) levels
The message to put on the completed delivery email when the product has been delivered
The custom field names to prompt the user with when buying the product
The minimum quantity required to buy the product, defaults to 1
The maximum quantity the user is allowed to buy for the product, -1 = no limit
Whether VPNs and proxies are blocked from purchasing the product, very good for Stripe
The array of blacklisted payment methods for the specific product, must be a valid SellSN payment method ID
Whether the product should be marked as a best seller on the users store page, does nothing for the marketplace
The object was successfully created.
Whether the operation was successful
The optional message given by the operation
Represents a product that is registered to a store
Removes a file from the product and deletes it's link on S3, this means that users who have already been delivered
a link to the file will lose it. Requires the Scopes.UpdateProducts
permission
The ID of the store the product belongs to
The ID of the product the file belongs to
The ID of the file to remove
The object was successfully deleted.
Whether the operation was successful
The optional message given by the operation
Represents a product that is registered to a store
Gets the products from a store and returns them as a paginated response, requires the Scopes.ViewProducts
permission
The ID of the store to get the products for
The page to select when viewing the products
The object was successfully returned.
Whether the operation was successful
The amount of pages there are
The data for the page
Gets and returns a product by it's ID, does not require authorization nor a store ID but will return a public product instead which redacts sensitive information
The ID of the product to get
The object was successfully returned.
Whether the operation was successful
The optional message given by the operation
Represents a product that is public facing, like on the marketplace