An access token is required to call this API. Refer to Authorization for more information about how to obtain the token.
Recommended product query
Arguments
id ● ID!non-null
Product ID
Returns
availableForSale ● Boolean
Indicates whether at least one variant is available for sale
brand ● String
deprecated
The product’s vendor name.
collections ● CollectionConnection
List of collections a product belongs to.
compareAtPriceRange ● ProductPriceRange
The compare at price of the product across all variants.
createdAt ● Date
The date and time when the product was created.
descriptionHtml ● String
The description of the product, complete with HTML formatting.
featuredImage ● Image
The featured image for the product.
tip
This field is functionally equivalent to imagesV2(first: 1).
handle ● String!non-null
A human-friendly unique string for the Product automatically generated from its title.
id ● ID!non-null
A globally-unique ID.
images ● [Image]
List of images associated with the product.
onlineStoreUrl ● String
The URL used for viewing the resource on the shop's Online Store. Returns null if the resource is currently not published to the Online Store sales channel.
options ● [ProductOption]
List of product options.
priceRange ● ProductPriceRange
The price range.
status ● ProductStatus
deprecated
The product’s status.
templatePath ● String
The product is in the theme template path
title ● String!non-null
The product’s title.
totalInventory ● Int
The total quantity of inventory in stock for this Product.
totalVariants ● Int
The total number of product variants
updatedAt ● Date
The date and time when the product was last modified. A product's updatedAt value can change for different reasons. For example, if an order is placed for a product that has inventory tracking set up, then the inventory adjustment is counted as an update.
variants ● [ProductVariant]
List of the product’s variants.
vendor ● String
The product’s vendor name.
Error Code
For more information about common error codes, refer to Status and error codes.
Was this article helpful to you?

Error loading component.

Error loading component.