Product
The Product interface is a common interface implemented across different marketplace products, such as Amazon and Shopify. It represents the basic structure and fields that every product type should have in the Rye’s Sell Anything API schema. By implementing this interface, each marketplace product can have a consistent data structure, making it easier for developers to work with the API.
Fields
A non-null unique identifier for the product.
A non-null enumeration value representing the marketplace.
A non-null string containing the title of the product.
A non-null string containing the product’s description.
A non-null string representing the product’s vendor or brand.
A non-null URL pointing to the product’s page on the marketplace.
A non-null boolean value indicating whether the product is available for purchase.
A non-null list of strings representing tags associated with the product.
A non-null list of image objects associated with the product, implementing the Image interface.
A non-null list of product variants available, implementing the Variant interface. These can include different sizes, colors, or other options for the product.
A nullable Price object representing the product’s price. The price might be null if it is not available or cannot be determined.