Queries
productByID
Retrieve a Product by its ID. This includes some basic fields like title, and description. This is useful for displaying products on screens where you need to display products across marketplaces together. But, each product marketplace offers extra metadata and in order to expose that to developers, Rye uses GraphQL inline fragments to expose high-fidelity information about each item.
AmazonProduct
and ShopifyProduct
returned by this query have similarities and differences that are compared in detail here
Arguments
An object containing the product ID.
Returns
The query returns null if the product is not found in the inventory
Example - request
Example - response
Related queries
Was this page helpful?