Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.
The Product object lets you manage products in a merchant’s store.
Products are the goods and services that merchants offer to customers. They can include various details such as title, description, price, images, and options such as size or color.
You can use product variants to create or update different versions of the same product.
You can also add or update product media.
Products can be organized by grouping them into a collection.
Learn more about working with Shopify's product model,
including limitations and considerations.
A special product type that combines separate products from a store into a single product listing.
Combined listings are connected
by a shared option, such as color, model, or dimension.
The pricing that applies to a customer in a specific context. For example, a price might vary depending on the customer's location. As of API version 2025-04, only active markets are considered in the price resolution.
createdAt•
DateTime!
non-null
The date and time when the product was created.
defaultCursor•
String!
non-null
A default cursor that returns the single next record, sorted ascending by ID.
description•
String!
non-null
A single-line description of the product,
with HTML tags removed.
descriptionHtml•
HTML!
non-null
The description of the product, with
HTML tags. For example, the description might include
bold <strong></strong> and italic <i></i> text.
events•
EventConnection!
non-null
The paginated list of events associated with the host subject.
The information that lets merchants know what steps they need to take
to make sure that the app is set up correctly.
For example, if a merchant hasn't set up a product correctly in the app,
then the feedback might include a message that says "You need to add a price
to this product".
giftCardTemplateSuffix•
String
The theme template that's used when customers view the gift card in a store.
handle•
String!
non-null
A unique, human-readable string of the product's title. A handle can contain letters, hyphens (-), and numbers, but no spaces.
The handle is used in the online store URL for the product.
hasOnlyDefaultVariant•
Boolean!
non-null
Whether the product has only a single variant with the default option and value.
hasOutOfStockVariants•
Boolean!
non-null
Whether the product has variants that are out of stock.
hasVariantsThatRequiresComponents•
Boolean!
non-null
Whether at least one of the product variants requires
bundle components.
The ID of the corresponding resource in the REST Admin API.
media•
MediaConnection!
non-null
The media associated with the product. Valid media are images, 3D models, videos.
mediaCount•
Count
The total count of media
that's associated with a product.
metafield•
Metafield
A custom field,
including its namespace and key, that's associated with a Shopify resource
for the purposes of adding and storing additional information.
metafields•
MetafieldConnection!
non-null
A list of custom fields
that a merchant associates with a Shopify resource.
The minimum and maximum prices of a product, expressed in decimal numbers.
For example, if the product is priced between $10.00 and $50.00,
then the price range is $10.00 - $50.00.
The date and time when the product was published to the online store.
publishedInContext•
Boolean!
non-null
Whether the product is published for a customer only in a specified context. For example, a product might be published for a customer only in a specific location.
publishedOnCurrentPublication•
Boolean!
non-null
Whether the resource is published to the app's
publication.
For example, the resource might be published to the app's online store channel.
publishedOnPublication•
Boolean!
non-null
Whether the resource is published to a specified
publication.
requiresSellingPlan•
Boolean!
non-null
Whether the product can only be purchased with
a selling plan.
Products that are sold on subscription (requiresSellingPlan: true) can be updated only for online stores.
If you update a product to be subscription-only (requiresSellingPlan:false), then the product is unpublished from all channels, except the online store.
resourcePublicationOnCurrentPublication•
ResourcePublicationV2
The resource that's either published or staged to be published to
the publication.
resourcePublications•
ResourcePublicationConnection!
non-null
The list of resources that are published to a
publication.
The list of resources that are either published or staged to be published to a
publication.
restrictedForResource•
RestrictedForResource
Whether the merchant can make changes to the product when they
edit the order
associated with the product. For example, a merchant might be restricted from changing product details when they
edit an order.
sellingPlanGroups•
SellingPlanGroupConnection!
non-null
A list of all selling plan groups
that are associated with the product either directly, or through the product's variants.
The product status,
which controls visibility across all sales channels.
tags•
[String!]!
non-null
A comma-separated list of searchable keywords that are
associated with the product. For example, a merchant might apply the sports
and summer tags to products that are associated with sportwear for summer.
Updating tags overwrites
any existing tags that were previously added to the product. To add new tags without overwriting
existing tags, use the tagsAdd
mutation.
templateSuffix•
String
The theme template that's used when customers view the product in a store.
title•
String!
non-null
The name for the product that displays to customers. The title is used to construct the product's handle.
For example, if a product is titled "Black Sunglasses", then the handle is black-sunglasses.
The published translations associated with the resource.
unpublishedPublications•
PublicationConnection!
non-null
The list of publications
that the resource isn't published to.
updatedAt•
DateTime!
non-null
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•
ProductVariantConnection!
non-null
A list of variants associated with the product.
If querying a single product at the root, you can fetch up to 2000 variants.
variantsCount•
Count
The number of variants
that are associated with the product.
vendor•
String!
non-null
The name of the product's vendor.
bodyHtml•
String
Deprecated
The description of the product, with
HTML tags. For example, the description might include
bold <strong></strong> and italic <i></i> text. Use descriptionHtml instead.
customProductType•
String
Deprecated
The custom product type specified by the merchant. Deprecated in API version 2022-10. Use productType instead.
descriptionPlainSummary•
String!
non-nullDeprecated
Stripped description of the product, single line with HTML tags removed.
Truncated to 60 characters. Use description instead.
featuredImage•
Image
Deprecated
The featured image for the product. Use featuredMedia instead.
images•
ImageConnection!
non-nullDeprecated
The images associated with the product. Use media instead.
metafieldDefinitions•
MetafieldDefinitionConnection!
non-nullDeprecated
List of metafield definitions. This field will be removed in a future version. Use the root metafieldDefinitions field instead.
priceRange•
ProductPriceRange!
non-nullDeprecated
The price range of the product. Deprecated in API version 2020-10. Use priceRangeV2 instead.
productCategory•
ProductCategory
Deprecated
The product category specified by the merchant. Deprecated in API version 2024-04. Use category instead.
productPublications•
ProductPublicationConnection!
non-nullDeprecated
A list of the channels where the product is published. Use resourcePublications instead.
publicationCount•
Int!
non-nullDeprecated
The number of
publications
that a resource is published to, without
feedback errors. Use resourcePublicationsCount instead.
publications•
ProductPublicationConnection!
non-nullDeprecated
A list of the channels where the product is published. Use resourcePublications instead.
publishedOnChannel•
Boolean!
non-nullDeprecated
Whether the resource is published to a specific channel. Use publishedOnPublication instead.
publishedOnCurrentChannel•
Boolean!
non-nullDeprecated
Whether the resource is published to a
channel.
For example, the resource might be published to the online store channel. Use publishedOnCurrentPublication instead.
sellingPlanGroupCount•
Int!
non-nullDeprecated
A count of selling plan groups
that are associated with the product. Use sellingPlanGroupsCount instead.
standardizedProductType•
StandardizedProductType
Deprecated
The standardized product type in the Shopify product taxonomy. Deprecated in API version 2022-10. Use productCategory instead.
storefrontId•
StorefrontID!
non-nullDeprecated
The Storefront GraphQL API ID of the Product.
As of the 2022-04 version release, the Storefront GraphQL API will no longer return Base64 encoded IDs to match the behavior of the Admin GraphQL API. Therefore, you can safely use the id field's value instead. Use id instead.
totalVariants•
Int!
non-nullDeprecated
The number of variants
that are associated with the product. Use variantsCount instead.
unpublishedChannels•
ChannelConnection!
non-nullDeprecated
The list of channels that the resource is not published to. Use unpublishedPublications instead.