GraphQL examples for products

Example GraphQL queries and mutations for working with products.

Querying products

For more information, see the product object reference.

Get a product's title, description, and online store URL

View response

Get two specific products by their ID using aliases

View response

Get the total inventory and price range of three products using a fragment

View response

Get all a product's fields and connections