Storefront GraphQL APIQueries
product
Query for product
Arguments
id·ID!non-nullscalarThe ID of the object
Returns
ProductNodeobjectisPublic·Boolean!non-nullscalarShow this product in search results and catalogue listings.
parent·ProductNodeobjectOnly choose a parent product if you're creating a child product. For example if this is a size 4 of a particular t-shirt. Leave blank if this is a stand-alone product (i.e. there is only one version of this product).
slug·String!non-nullscalardescription·String!non-nullscalarmetaTitle·StringscalarmetaDescription·StringscalarrecommendedProducts·ProductNodeConnection!non-nullobjectThese are products that are recommended to accompany the main product.
rating·FloatscalardateCreated·DateTime!non-nullscalardateUpdated·DateTime!non-nullscalarisDiscountable·Boolean!non-nullscalarThis flag indicates if this product can be used in an offer or not
title·Stringscalarexcerpt·String!non-nullscalarupc·StringscalarUniversal Product Code
structure·Stringscalarranking·Int!non-nullscalarThe highest ranking are shown first
attributes·[AttributeNode]listobjectvariantAttributes·[VariantAttributeNode!]listobjectimages·[ImageNode]listobjectchildren·[ProductVariantNode!]listobjectid·ID!non-nullscalarThe ID of the object
pk·IntscalarrequiresShipping·BooleanscalarpurchaseInfo·PurchaseInfoNodeobjectprimaryImage·ImageNodeobjectsubscriptionInfo·SubscriptionInfoNodeobjecturl·Stringscalarmetadata·GenericScalarscalarquery Product($id: ID!) { product(id: $id) { isPublic slug description metaTitle metaDescription rating dateCreated dateUpdated isDiscountable title }}{ "id": "<id>"}{ "data": { "product": { "isPublic": true, "parent": null, "slug": "<your-value>", "description": "<your-value>", "metaTitle": "<your-value>", "metaDescription": "<your-value>", "recommendedProducts": { "pageInfo": { "hasNextPage": true, "hasPreviousPage": true, "startCursor": "<your-value>", "endCursor": "<your-value>" }, "edges": [ { "node": null, "cursor": "<your-value>" } ] }, "rating": 1, "dateCreated": "2026-01-01T00:00:00Z", "dateUpdated": "2026-01-01T00:00:00Z", "isDiscountable": true, "title": "<your-value>", "excerpt": "<your-value>", "upc": "<your-value>", "structure": "<your-value>", "ranking": 1, "attributes": [ { "name": "<your-value>", "code": "<your-value>", "pk": 1, "type": "<your-value>", "values": {} } ], "variantAttributes": [ { "name": "<your-value>", "code": "<your-value>", "values": {} } ], "images": [ { "id": 1, "url": "<your-value>" } ], "children": [ { "isPublic": true, "parent": null, "slug": "<your-value>", "description": "<your-value>", "metaTitle": "<your-value>", "metaDescription": "<your-value>", "recommendedProducts": { "pageInfo": { "hasNextPage": "...", "hasPreviousPage": "...", "startCursor": "...", "endCursor": "..." }, "edges": [ { "node": "...", "cursor": "..." } ] }, "rating": 1, "dateCreated": "2026-01-01T00:00:00Z", "dateUpdated": "2026-01-01T00:00:00Z", "isDiscountable": true, "title": "<your-value>", "excerpt": "<your-value>", "upc": "<your-value>", "structure": "<your-value>", "ranking": 1, "id": "<id>", "pk": 1, "requiresShipping": true, "purchaseInfo": { "availableForSale": true, "availability": "<your-value>", "price": { "currency": "...", "value": "...", "format": "..." }, "priceRetail": { "currency": "...", "value": "...", "format": "..." }, "priceSubscription": { "currency": "...", "value": "...", "format": "..." }, "sku": "<your-value>" }, "images": [ { "id": 1, "url": "<your-value>" } ], "primaryImage": { "id": 1, "url": "<your-value>" }, "subscriptionInfo": { "interval": "<your-value>", "intervalCount": [ 1 ] }, "url": "<your-value>", "metadata": {}, "variantAttributeValues": [ { "name": "<your-value>", "code": "<your-value>", "pk": 1, "text": "<your-value>" } ] } ], "id": "<id>", "pk": 1, "requiresShipping": true, "purchaseInfo": { "availableForSale": true, "availability": "<your-value>", "price": { "currency": "<your-value>", "value": "10.00", "format": "<your-value>" }, "priceRetail": { "currency": "<your-value>", "value": "10.00", "format": "<your-value>" }, "priceSubscription": { "currency": "<your-value>", "value": "10.00", "format": "<your-value>" }, "sku": "<your-value>" }, "primaryImage": { "id": 1, "url": "<your-value>" }, "subscriptionInfo": { "interval": "<your-value>", "intervalCount": [ 1 ] }, "url": "<your-value>", "metadata": {} } }}