---
title: Product - GraphQL Admin
description: >-
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](https://shopify.dev/docs/api/admin-graphql/latest/objects/productvariant)
to create or update different versions of the same product.
You can also add or update product
[media](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/media).
Products can be organized by grouping them into a
[collection](https://shopify.dev/docs/api/admin-graphql/latest/objects/collection).
Learn more about working with [Shopify's product
model](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model/product-model-components),
including limitations and considerations.
api_version: 2025-10
api_name: admin
type: object
api_type: graphql
source_url:
html: 'https://shopify.dev/docs/api/admin-graphql/latest/objects/Product'
md: 'https://shopify.dev/docs/api/admin-graphql/latest/objects/Product.md'
---
# Product
object
Requires `read_products` access scope.
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](https://shopify.dev/docs/api/admin-graphql/latest/objects/productvariant) to create or update different versions of the same product. You can also add or update product [media](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/media). Products can be organized by grouping them into a [collection](https://shopify.dev/docs/api/admin-graphql/latest/objects/collection).
Learn more about working with [Shopify's product model](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model/product-model-components), including limitations and considerations.
## Fields
* availablePublicationsCount
[Count](https://shopify.dev/docs/api/admin-graphql/latest/objects/Count)
The number of [publications](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication) that a resource is published to, without [feedback errors](https://shopify.dev/docs/api/admin-graphql/latest/objects/ResourceFeedback).
* bundleComponents
[ProductBundleComponentConnection!](https://shopify.dev/docs/api/admin-graphql/latest/connections/ProductBundleComponentConnection)
non-null
A list of [components](https://shopify.dev/docs/apps/build/product-merchandising/bundles/add-product-fixed-bundle) that are associated with a product in a bundle.
* first
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
### Arguments
The first `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* after
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come after the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* last
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The last `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* before
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come before the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* reverse
[Boolean](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
Default:false
Reverse the order of the underlying list.
***
* category
[TaxonomyCategory](https://shopify.dev/docs/api/admin-graphql/latest/objects/TaxonomyCategory)
The category of a product from [Shopify's Standard Product Taxonomy](https://shopify.github.io/product-taxonomy/releases/unstable/?categoryId=sg-4-17-2-17).
* collections
[CollectionConnection!](https://shopify.dev/docs/api/admin-graphql/latest/connections/CollectionConnection)
non-null
A list of [collections](https://shopify.dev/docs/api/admin-graphql/latest/objects/Collection) that include the product.
* first
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
### Arguments
The first `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* after
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come after the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* last
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The last `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* before
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come before the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* reverse
[Boolean](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
Default:false
Reverse the order of the underlying list.
* sortKey
[CollectionSortKeys](https://shopify.dev/docs/api/admin-graphql/latest/enums/CollectionSortKeys)
Default:ID
Sort the underlying list using a key. If your query is slow or returns an error, then [try specifying a sort key that matches the field used in the search](https://shopify.dev/api/usage/pagination-graphql#search-performance-considerations).
* query
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about [Shopify API search syntax](https://shopify.dev/api/usage/search-syntax).
* * default
string
* collection\_type
string
* handle
string
- Filter by a case-insensitive search of multiple fields in a document.
- Example:
* `query=Bob Norman`
* `query=title:green hoodie`
- Valid values:
* `custom`
* `smart`
* * id
id
* product\_id
id
- Filter by `id` range.
- Example:
* `id:1234`
* `id:>=1234`
* `id:<=1234`
Filter by collections containing a product by its ID.
* * product\_publication\_status
string
* publishable\_status
string
* published\_at
time
- Filter by channel approval process status of the resource on a channel, such as the online store. The value is a composite of the [channel `app` ID](https://shopify.dev/api/admin-graphql/latest/objects/Channel#field-Channel.fields.app) (`Channel.app.id`) and one of the valid values. For simple visibility checks, use [published\_status](https://shopify.dev/api/admin-graphql/latest/queries/products#argument-query-filter-publishable_status) instead.
- Valid values:
* `* {channel_app_id}-approved`
* `* {channel_app_id}-rejected`
* `* {channel_app_id}-needs_action`
* `* {channel_app_id}-awaiting_review`
* `* {channel_app_id}-published`
* `* {channel_app_id}-demoted`
* `* {channel_app_id}-scheduled`
* `* {channel_app_id}-provisionally_published`
Example:
* `product_publication_status:189769876-approved`
**Deprecated:** This parameter is deprecated as of 2025-12 and will be removed in a future API version. Use [published\_status](https://shopify.dev/api/admin-graphql/latest/queries/products#argument-query-filter-publishable_status) for visibility checks. Filter by the publishable status of the resource on a channel. The value is a composite of the [channel `app` ID](https://shopify.dev/api/admin-graphql/latest/objects/Channel#app-price) (`Channel.app.id`) and one of the valid status values.
- Valid values:
* `* {channel_app_id}-unset`
* `* {channel_app_id}-pending`
* `* {channel_app_id}-approved`
* `* {channel_app_id}-not_approved`
Example:
* `publishable_status:580111-unset`
* `publishable_status:580111-pending`
Filter by the date and time when the collection was published to the Online Store.
* * published\_status
string
* title
string
- Filter resources by their visibility and publication state on a channel. Online store channel filtering: - `online_store_channel`: Returns all resources in the online store channel, regardless of publication status. - `published`/`visible`: Returns resources that are published to the online store. - `unpublished`: Returns resources that are not published to the online store. Channel-specific filtering using the [channel `app` ID](https://shopify.dev/api/admin-graphql/latest/objects/Channel#app-price) (`Channel.app.id`) with suffixes: - `{channel_app_id}-published`: Returns resources published to the specified channel. - `{channel_app_id}-visible`: Same as `{channel_app_id}-published` (kept for backwards compatibility). - `{channel_app_id}-intended`: Returns resources added to the channel but not yet published. - `{channel_app_id}-hidden`: Returns resources not added to the channel or not published. Other: - `unavailable`: Returns resources not published to any channel.
- Valid values:
* `online_store_channel`
* `published`
* `visible`
* `unpublished`
* `* {channel_app_id}-published`
* `* {channel_app_id}-visible`
* `* {channel_app_id}-intended`
* `* {channel_app_id}-hidden`
* `unavailable`
Example:
* `published_status:online_store_channel`
* `published_status:published`
* `published_status:580111-published`
* `published_status:580111-hidden`
* `published_status:unavailable`
* updated\_at
time
***
* combinedListing
[CombinedListing](https://shopify.dev/docs/api/admin-graphql/latest/objects/CombinedListing)
A special product type that combines separate products from a store into a single product listing. [Combined listings](https://shopify.dev/apps/build/product-merchandising/combined-listings) are connected by a shared option, such as color, model, or dimension.
* combinedListingRole
[CombinedListingsRole](https://shopify.dev/docs/api/admin-graphql/latest/enums/CombinedListingsRole)
The [role of the product](https://shopify.dev/docs/apps/build/product-merchandising/combined-listings/build-for-combined-listings) in a combined listing.
If `null`, then the product isn't part of any combined listing.
* compareAtPriceRange
[ProductCompareAtPriceRange](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductCompareAtPriceRange)
The [compare-at price range](https://help.shopify.com/manual/products/details/product-pricing/sale-pricing) of the product in the shop's default currency.
* contextualPricing
[ProductContextualPricing!](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductContextualPricing)
non-null
The pricing that applies to a customer in a specific context. For example, a price might vary depending on the customer's location. Only active markets are considered in the price resolution.
* context
[ContextualPricingContext!](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/ContextualPricingContext)
required
### Arguments
The context used to generate contextual pricing for the variant.
***
* createdAt
[DateTime!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/DateTime)
non-null
The date and time when the product was created.
* defaultCursor
[String!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
non-null
A default [cursor](https://shopify.dev/api/usage/pagination-graphql) that returns the single next record, sorted ascending by ID.
* description
[String!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
non-null
A single-line description of the product, with [HTML tags](https://developer.mozilla.org/en-US/docs/Web/HTML) removed.
* truncateAt
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
### Arguments
Truncates a string after the given length.
***
* descriptionHtml
[HTML!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/HTML)
non-null
The description of the product, with HTML tags. For example, the description might include bold `` and italic `` text.
* events
[EventConnection!](https://shopify.dev/docs/api/admin-graphql/latest/connections/EventConnection)
non-null
The paginated list of events associated with the host subject.
* first
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
### Arguments
The first `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* after
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come after the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* last
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The last `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* before
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come before the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* reverse
[Boolean](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
Default:false
Reverse the order of the underlying list.
* sortKey
[EventSortKeys](https://shopify.dev/docs/api/admin-graphql/latest/enums/EventSortKeys)
Default:ID
Sort the underlying list using a key. If your query is slow or returns an error, then [try specifying a sort key that matches the field used in the search](https://shopify.dev/api/usage/pagination-graphql#search-performance-considerations).
* query
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about [Shopify API search syntax](https://shopify.dev/api/usage/search-syntax).
* * action
string
* comments
boolean
* created\_at
time
* id
id
* subject\_type
string
- The action that occured.
- Example:
* `action:create`
Whether or not to include [comment-events](https://shopify.dev/api/admin-graphql/latest/objects/CommentEvent) in your search, passing `false` will exclude comment-events, any other value will include comment-events.
- Example:
* `false`
* `true`
Filter by the date and time when the event happened.
- Example:
* `created_at:>2020-10-21`
* `created_at:=1234`
* `id:<=1234`
The resource type affected by this event. See [EventSubjectType](https://shopify.dev/api/admin-graphql/latest/enums/EventSubjectType) for possible values.
Example:
* `PRODUCT_VARIANT`
* `PRODUCT`
* `COLLECTION`
***
* featuredMedia
[Media](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/Media)
The featured [media](https://shopify.dev/docs/apps/build/online-store/product-media) associated with the product.
* feedback
[ResourceFeedback](https://shopify.dev/docs/api/admin-graphql/latest/objects/ResourceFeedback)
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](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The [theme template](https://shopify.dev/docs/storefronts/themes/architecture/templates) that's used when customers view the gift card in a store.
* handle
[String!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/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!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
non-null
Whether the product has only a single variant with the default option and value.
* hasOutOfStockVariants
[Boolean!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
non-null
Whether the product has variants that are out of stock.
* hasVariantsThatRequiresComponents
[Boolean!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
non-null
Whether at least one of the product variants requires [bundle components](https://shopify.dev/docs/apps/build/product-merchandising/bundles/add-product-fixed-bundle).
Learn more about [store eligibility for bundles](https://shopify.dev/docs/apps/build/product-merchandising/bundles#store-eligibility).
* id
[ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID)
non-null
A globally-unique ID.
* inCollection
[Boolean!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
non-null
Whether the product is in a specified [collection](https://shopify.dev/docs/api/admin-graphql/latest/objects/collection).
* id
[ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID)
required
### Arguments
The ID of the collection to check. For example, `id: "gid://shopify/Collection/123"`.
***
* isGiftCard
[Boolean!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
non-null
Whether the product is a gift card.
* legacyResourceId
[UnsignedInt64!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/UnsignedInt64)
non-null
The ID of the corresponding resource in the REST Admin API.
* media
[MediaConnection!](https://shopify.dev/docs/api/admin-graphql/latest/connections/MediaConnection)
non-null
The [media](https://shopify.dev/docs/apps/build/online-store/product-media) associated with the product. Valid media are images, 3D models, videos.
* first
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
### Arguments
The first `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* after
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come after the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* last
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The last `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* before
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come before the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* reverse
[Boolean](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
Default:false
Reverse the order of the underlying list.
* sortKey
[ProductMediaSortKeys](https://shopify.dev/docs/api/admin-graphql/latest/enums/ProductMediaSortKeys)
Default:POSITION
Sort the underlying list using a key. If your query is slow or returns an error, then [try specifying a sort key that matches the field used in the search](https://shopify.dev/api/usage/pagination-graphql#search-performance-considerations).
* query
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about [Shopify API search syntax](https://shopify.dev/api/usage/search-syntax).
* * id
id
* media\_type
string
- Filter by `id` range.
- Example:
* `id:1234`
* `id:>=1234`
* `id:<=1234`
Valid values:
* `IMAGE`
* `VIDEO`
* `MODEL_3D`
* `EXTERNAL_VIDEO`
***
* mediaCount
[Count](https://shopify.dev/docs/api/admin-graphql/latest/objects/Count)
The total count of [media](https://shopify.dev/docs/apps/build/online-store/product-media) that's associated with a product.
* metafield
[Metafield](https://shopify.dev/docs/api/admin-graphql/latest/objects/Metafield)
A [custom field](https://shopify.dev/docs/apps/build/custom-data), including its `namespace` and `key`, that's associated with a Shopify resource for the purposes of adding and storing additional information.
* namespace
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
### Arguments
The container the metafield belongs to. If omitted, the app-reserved namespace will be used.
* key
[String!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
required
The key for the metafield.
***
* metafields
[MetafieldConnection!](https://shopify.dev/docs/api/admin-graphql/latest/connections/MetafieldConnection)
non-null
A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data) that a merchant associates with a Shopify resource.
* namespace
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
### Arguments
The metafield namespace to filter by. If omitted, the app-reserved namespace will be used.
* keys
[\[String!\]](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
List of keys of metafields in the format `namespace.key`, will be returned in the same format.
* first
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The first `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* after
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come after the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* last
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The last `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* before
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come before the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* reverse
[Boolean](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
Default:false
Reverse the order of the underlying list.
***
* onlineStorePreviewUrl
[URL](https://shopify.dev/docs/api/admin-graphql/latest/scalars/URL)
The [preview URL](https://help.shopify.com/manual/online-store/setting-up#preview-your-store) for the online store.
* onlineStoreUrl
[URL](https://shopify.dev/docs/api/admin-graphql/latest/scalars/URL)
The product's URL on the online store. If `null`, then the product isn't published to the online store sales channel.
* options
[\[ProductOption!\]!](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductOption)
non-null
A list of product options. The limit is defined by the [shop's resource limits for product options](https://shopify.dev/docs/api/admin-graphql/latest/objects/Shop#field-resourcelimits) (`Shop.resourceLimits.maxProductOptions`).
* first
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
### Arguments
Truncate the array result to this size.
***
* priceRangeV2
[ProductPriceRangeV2!](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductPriceRangeV2)
non-null
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.
* productComponents
[ProductComponentTypeConnection!](https://shopify.dev/docs/api/admin-graphql/latest/connections/ProductComponentTypeConnection)
non-null
A list of products that contain at least one variant associated with at least one of the current products' variants via group relationship.
* first
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
### Arguments
The first `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* after
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come after the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* last
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The last `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* before
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come before the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* reverse
[Boolean](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
Default:false
Reverse the order of the underlying list.
***
* productComponentsCount
[Count](https://shopify.dev/docs/api/admin-graphql/latest/objects/Count)
A count of unique products that contain at least one variant associated with at least one of the current products' variants via group relationship.
* productParents
[ProductConnection!](https://shopify.dev/docs/api/admin-graphql/latest/connections/ProductConnection)
non-null
A list of products that has a variant that contains any of this product's variants as a component.
* first
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
### Arguments
The first `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* after
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come after the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* last
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The last `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* before
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come before the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* reverse
[Boolean](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
Default:false
Reverse the order of the underlying list.
* query
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about [Shopify API search syntax](https://shopify.dev/api/usage/search-syntax).
* * default
string
* barcode
string
* bundles
boolean
* category\_id
string
* collection\_id
id
* combined\_listing\_role
string
* created\_at
time
* delivery\_profile\_id
id
* error\_feedback
string
- Filter by a case-insensitive search of multiple fields in a document.
- Example:
* `query=Bob Norman`
* `query=title:green hoodie`
Filter by the product variant [`barcode`](https://shopify.dev/api/admin-graphql/latest/objects/ProductVariant#field-barcode) field.
- Example:
* `barcode:ABC-abc-1234`
Filter by a [product bundle](https://shopify.dev/docs/apps/build/product-merchandising/bundles). A product bundle is a set of two or more related products, which are commonly offered at a discount.
- Example:
* `bundles:true`
Filter by the product [category ID](https://shopify.dev/api/admin-graphql/latest/objects/Product#field-category) (`product.category.id`). A product category is the category of a product from [Shopify's Standard Product Taxonomy](https://shopify.github.io/product-taxonomy/releases/unstable/?categoryId=sg-4-17-2-17).
- Example:
* `category_id:sg-4-17-2-17`
Filter by the collection [`id`](https://shopify.dev/api/admin-graphql/latest/objects/Collection#field-id) field.
- Example:
* `collection_id:108179161409`
Filter by the role of the product in a [combined listing](https://shopify.dev/apps/build/product-merchandising/combined-listings).
- Valid values:
* `parent`
* `child`
* `no_role`
Example:
* `combined_listing_role:parent`
Filter by the date and time when the product was created.
- Example:
* `created_at:>'2020-10-21T23:39:20Z'`
* `created_at:=1234`
* `id:<=1234`
Filter by inventory count.
- Example:
* `inventory_total:0`
* `inventory_total:>150`
* `inventory_total:>=200`
Filter by products that have a reduced price. For more information, refer to the [`CollectionRule`](https://shopify.dev/api/admin-graphql/latest/objects/CollectionRule) object.
- Example:
* `is_price_reduced:true`
Filters resources by metafield value. Format: `metafields.{namespace}.{key}:{value}`. Learn more about [querying by metafield value](https://shopify.dev/apps/build/custom-data/metafields/query-by-metafield-value).
- Example:
* `metafields.custom.on_sale:true`
* `metafields.product.material:"gid://shopify/Metaobject/43458085"`
Filter by products that are out of stock in at least one location.
- Example:
* `out_of_stock_somewhere:true`
Filter by the product variant [`price`](https://shopify.dev/api/admin-graphql/latest/objects/Productvariant#field-price) field.
- Example:
* `price:100.57`
Filter by the app [`id`](https://shopify.dev/api/admin-graphql/latest/objects/App#field-id) field.
- Example:
* `product_configuration_owner:10001`
Filter by channel approval process status of the resource on a channel, such as the online store. The value is a composite of the [channel `app` ID](https://shopify.dev/api/admin-graphql/latest/objects/Channel#field-Channel.fields.app) (`Channel.app.id`) and one of the valid values. For simple visibility checks, use [published\_status](https://shopify.dev/api/admin-graphql/latest/queries/products#argument-query-filter-publishable_status) instead.
- Valid values:
* `* {channel_app_id}-approved`
* `* {channel_app_id}-rejected`
* `* {channel_app_id}-needs_action`
* `* {channel_app_id}-awaiting_review`
* `* {channel_app_id}-published`
* `* {channel_app_id}-demoted`
* `* {channel_app_id}-scheduled`
* `* {channel_app_id}-provisionally_published`
Example:
* `product_publication_status:189769876-approved`
Filter by a comma-separated list of [product types](https://help.shopify.com/manual/products/details/product-type).
- Example:
* `product_type:snowboard`
Filter by a comma-separated list of publication IDs that are associated with the product.
- Example:
* `publication_ids:184111530305,184111694145`
**Deprecated:** This parameter is deprecated as of 2025-12 and will be removed in a future API version. Use [published\_status](https://shopify.dev/api/admin-graphql/latest/queries/products#argument-query-filter-publishable_status) for visibility checks. Filter by the publishable status of the resource on a channel. The value is a composite of the [channel `app` ID](https://shopify.dev/api/admin-graphql/latest/objects/Channel#app-price) (`Channel.app.id`) and one of the valid status values.
- Valid values:
* `* {channel_app_id}-unset`
* `* {channel_app_id}-pending`
* `* {channel_app_id}-approved`
* `* {channel_app_id}-not_approved`
Example:
* `publishable_status:580111-unset`
* `publishable_status:580111-pending`
Filter by the date and time when the product was published to the online store and other sales channels.
- Example:
* `published_at:>2020-10-21T23:39:20Z`
* `published_at:'2020-10-21T23:39:20Z'`
* `updated_at:2020-10-21T23:39:20Z`
* `created_at:=1234`
* `id:<=1234`
Filter by the metafield definition [`key`](https://shopify.dev/docs/api/admin-graphql/latest/objects/MetafieldDefinition#field-key) field.
- Example:
* `key:some-key`
Filter by the metafield definition [`namespace`](https://shopify.dev/docs/api/admin-graphql/latest/objects/MetafieldDefinition#field-namespace) field.
- Example:
* `namespace:some-namespace`
Filter by the metafield definition [`ownerType`](https://shopify.dev/docs/api/admin-graphql/latest/objects/MetafieldDefinition#field-ownertype) field.
- Example:
* `owner_type:PRODUCT`
Filter by the metafield definition [`type`](https://shopify.dev/docs/api/admin-graphql/latest/objects/MetafieldDefinition#field-type) field.
- Example:
* `type:single_line_text_field`
Filter by the date and time when the metafield definition was last updated.
Example:
* `updated_at:>2020-10-21T23:39:20Z`
* `updated_at:[ProductConnection.nodes](https://shopify.dev/docs/api/admin-graphql/latest/connections/ProductConnection#returns-nodes)
* {}[ProductDeleteOperation.product](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductDeleteOperation#field-ProductDeleteOperation.fields.product)
* {}[ProductDuplicateOperation.newProduct](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductDuplicateOperation#field-ProductDuplicateOperation.fields.newProduct)
* {}[ProductDuplicateOperation.product](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductDuplicateOperation#field-ProductDuplicateOperation.fields.product)
* {}[ProductEdge.node](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductEdge#field-ProductEdge.fields.node)
* ||-[ProductOperation.product](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/ProductOperation#fields-product)
* {}[ProductPublication.product](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductPublication#field-ProductPublication.fields.product)
* {}[ProductSetOperation.product](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductSetOperation#field-ProductSetOperation.fields.product)
* {}[ProductVariant.product](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductVariant#field-ProductVariant.fields.product)
* {}[ProductVariant.productParents](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductVariant#field-ProductVariant.fields.productParents)
* {}[Publication.includedProducts](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication#field-Publication.fields.includedProducts)
* {}[Publication.products](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication#field-Publication.fields.products)
* {}[SellingPlanGroup.products](https://shopify.dev/docs/api/admin-graphql/latest/objects/SellingPlanGroup#field-SellingPlanGroup.fields.products)
### Possible type in
* [CommentEventEmbed](https://shopify.dev/docs/api/admin-graphql/latest/unions/CommentEventEmbed)
* [MetafieldReference](https://shopify.dev/docs/api/admin-graphql/latest/unions/MetafieldReference)
* [MetafieldReferencer](https://shopify.dev/docs/api/admin-graphql/latest/unions/MetafieldReferencer)
***
## Queries
* [product](https://shopify.dev/docs/api/admin-graphql/latest/queries/product)
query
Retrieves a [product](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product) by its ID. A product is an item that a merchant can sell in their store.
Use the `product` query when you need to:
* Access essential product data (for example, title, description, price, images, SEO metadata, and metafields).
* Build product detail pages and manage inventory.
* Handle international sales with localized pricing and content.
* Manage product variants and product options.
Learn more about working with [Shopify's product model](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model/product-model-components).
* id
[ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID)
required
### Arguments
The ID of the `Product` to return.
***
* [productByIdentifier](https://shopify.dev/docs/api/admin-graphql/latest/queries/productByIdentifier)
query
Return a product by an identifier.
* identifier
[ProductIdentifierInput!](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/ProductIdentifierInput)
required
### Arguments
The identifier of the product.
***
* [products](https://shopify.dev/docs/api/admin-graphql/latest/queries/products)
query
Retrieves a list of [products](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product) in a store. Products are the items that merchants can sell in their store.
Use the `products` query when you need to:
* Build a browsing interface for a product catalog.
* Create product [searching](https://shopify.dev/docs/api/usage/search-syntax), [sorting](https://shopify.dev/docs/api/admin-graphql/latest/queries/products#arguments-sortKey), and [filtering](https://shopify.dev/docs/api/admin-graphql/latest/queries/products#arguments-query) experiences.
* Implement product recommendations.
* Sync product data with external systems.
The `products` query supports [pagination](https://shopify.dev/docs/api/usage/pagination-graphql) to handle large product catalogs and [saved searches](https://shopify.dev/docs/api/admin-graphql/latest/queries/products#arguments-savedSearchId) for frequently used product queries.
The `products` query returns products with their associated metadata, including:
* Basic product information (for example, title, description, vendor, and type)
* Product options and product variants, with their prices and inventory
* Media attachments (for example, images and videos)
* SEO metadata
* Product categories and tags
* Product availability and publishing statuses
Learn more about working with [Shopify's product model](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model/product-model-components).
* first
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
### Arguments
The first `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* after
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come after the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* last
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The last `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* before
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come before the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* reverse
[Boolean](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
Default:false
Reverse the order of the underlying list.
* sortKey
[ProductSortKeys](https://shopify.dev/docs/api/admin-graphql/latest/enums/ProductSortKeys)
Default:ID
Sort the underlying list using a key. If your query is slow or returns an error, then [try specifying a sort key that matches the field used in the search](https://shopify.dev/api/usage/pagination-graphql#search-performance-considerations).
* query
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about [Shopify API search syntax](https://shopify.dev/api/usage/search-syntax).
* * default
string
* barcode
string
* bundles
boolean
* category\_id
string
* collection\_id
id
* combined\_listing\_role
string
* created\_at
time
* delivery\_profile\_id
id
* error\_feedback
string
- Filter by a case-insensitive search of multiple fields in a document.
- Example:
* `query=Bob Norman`
* `query=title:green hoodie`
Filter by the product variant [`barcode`](https://shopify.dev/api/admin-graphql/latest/objects/ProductVariant#field-barcode) field.
- Example:
* `barcode:ABC-abc-1234`
Filter by a [product bundle](https://shopify.dev/docs/apps/build/product-merchandising/bundles). A product bundle is a set of two or more related products, which are commonly offered at a discount.
- Example:
* `bundles:true`
Filter by the product [category ID](https://shopify.dev/api/admin-graphql/latest/objects/Product#field-category) (`product.category.id`). A product category is the category of a product from [Shopify's Standard Product Taxonomy](https://shopify.github.io/product-taxonomy/releases/unstable/?categoryId=sg-4-17-2-17).
- Example:
* `category_id:sg-4-17-2-17`
Filter by the collection [`id`](https://shopify.dev/api/admin-graphql/latest/objects/Collection#field-id) field.
- Example:
* `collection_id:108179161409`
Filter by the role of the product in a [combined listing](https://shopify.dev/apps/build/product-merchandising/combined-listings).
- Valid values:
* `parent`
* `child`
* `no_role`
Example:
* `combined_listing_role:parent`
Filter by the date and time when the product was created.
- Example:
* `created_at:>'2020-10-21T23:39:20Z'`
* `created_at:=1234`
* `id:<=1234`
Filter by inventory count.
- Example:
* `inventory_total:0`
* `inventory_total:>150`
* `inventory_total:>=200`
Filter by products that have a reduced price. For more information, refer to the [`CollectionRule`](https://shopify.dev/api/admin-graphql/latest/objects/CollectionRule) object.
- Example:
* `is_price_reduced:true`
Filters resources by metafield value. Format: `metafields.{namespace}.{key}:{value}`. Learn more about [querying by metafield value](https://shopify.dev/apps/build/custom-data/metafields/query-by-metafield-value).
- Example:
* `metafields.custom.on_sale:true`
* `metafields.product.material:"gid://shopify/Metaobject/43458085"`
Filter by products that are out of stock in at least one location.
- Example:
* `out_of_stock_somewhere:true`
Filter by the product variant [`price`](https://shopify.dev/api/admin-graphql/latest/objects/Productvariant#field-price) field.
- Example:
* `price:100.57`
Filter by the app [`id`](https://shopify.dev/api/admin-graphql/latest/objects/App#field-id) field.
- Example:
* `product_configuration_owner:10001`
Filter by channel approval process status of the resource on a channel, such as the online store. The value is a composite of the [channel `app` ID](https://shopify.dev/api/admin-graphql/latest/objects/Channel#field-Channel.fields.app) (`Channel.app.id`) and one of the valid values. For simple visibility checks, use [published\_status](https://shopify.dev/api/admin-graphql/latest/queries/products#argument-query-filter-publishable_status) instead.
- Valid values:
* `* {channel_app_id}-approved`
* `* {channel_app_id}-rejected`
* `* {channel_app_id}-needs_action`
* `* {channel_app_id}-awaiting_review`
* `* {channel_app_id}-published`
* `* {channel_app_id}-demoted`
* `* {channel_app_id}-scheduled`
* `* {channel_app_id}-provisionally_published`
Example:
* `product_publication_status:189769876-approved`
Filter by a comma-separated list of [product types](https://help.shopify.com/manual/products/details/product-type).
- Example:
* `product_type:snowboard`
Filter by a comma-separated list of publication IDs that are associated with the product.
- Example:
* `publication_ids:184111530305,184111694145`
**Deprecated:** This parameter is deprecated as of 2025-12 and will be removed in a future API version. Use [published\_status](https://shopify.dev/api/admin-graphql/latest/queries/products#argument-query-filter-publishable_status) for visibility checks. Filter by the publishable status of the resource on a channel. The value is a composite of the [channel `app` ID](https://shopify.dev/api/admin-graphql/latest/objects/Channel#app-price) (`Channel.app.id`) and one of the valid status values.
- Valid values:
* `* {channel_app_id}-unset`
* `* {channel_app_id}-pending`
* `* {channel_app_id}-approved`
* `* {channel_app_id}-not_approved`
Example:
* `publishable_status:580111-unset`
* `publishable_status:580111-pending`
Filter by the date and time when the product was published to the online store and other sales channels.
- Example:
* `published_at:>2020-10-21T23:39:20Z`
* `published_at:'2020-10-21T23:39:20Z'`
* `updated_at:Product Queries
### Queried by
* \>[product](https://shopify.dev/docs/api/admin-graphql/latest/queries/product)
* \>[productByIdentifier](https://shopify.dev/docs/api/admin-graphql/latest/queries/productByIdentifier)
* \>[products](https://shopify.dev/docs/api/admin-graphql/latest/queries/products)
***
## Mutations
* [combinedListingUpdate](https://shopify.dev/docs/api/admin-graphql/latest/mutations/combinedListingUpdate)
mutation
Add, remove and update `CombinedListing`s of a given Product.
`CombinedListing`s are comprised of multiple products to create a single listing. There are two kinds of products used in a `CombinedListing`:
1. Parent products
2. Child products
The parent product is created with a `productCreate` with a `CombinedListingRole` of `PARENT`. Once created, you can associate child products with the parent product using this mutation. Parent products represent the idea of a product (e.g. Shoe).
Child products represent a particular option value (or combination of option values) of a parent product. For instance, with your Shoe parent product, you may have several child products representing specific colors of the shoe (e.g. Shoe - Blue). You could also have child products representing more than a single option (e.g. Shoe - Blue/Canvas, Shoe - Blue/Leather, etc...).
The combined listing is the association of parent product to one or more child products.
Learn more about [Combined Listings](https://shopify.dev/apps/selling-strategies/combined-listings).
* parentProductId
[ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID)
required
### Arguments
The ID of the parent product.
* title
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The updated title for the combined listing.
* productsAdded
[\[ChildProductRelationInput!\]](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/ChildProductRelationInput)
The child products to add and their assigned options and option values.
* productsEdited
[\[ChildProductRelationInput!\]](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/ChildProductRelationInput)
The child products to edit and their assigned options and option values.
* productsRemovedIds
[\[ID!\]](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID)
The IDs of products to be removed from the combined listing.
* optionsAndValues
[\[OptionAndValueInput!\]](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/OptionAndValueInput)
The ordered options and values to be used by the combined listing. Options and values will be reordered to match the order specified here.
***
* [priceListFixedPricesByProductUpdate](https://shopify.dev/docs/api/admin-graphql/latest/mutations/priceListFixedPricesByProductUpdate)
mutation
Sets or removes fixed prices for all variants of a [`Product`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product) on a [`PriceList`](https://shopify.dev/docs/api/admin-graphql/latest/objects/PriceList). Simplifies pricing management when all variants of a product should have the same price on a price list, rather than setting individual variant prices.
When you add a fixed price for a product, all its [`ProductVariant`](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductVariant) objects receive the same price on the price list. When you remove a product's fixed prices, all variant prices revert to the price list's adjustment rules.
* pricesToAdd
[\[PriceListProductPriceInput!\]](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/PriceListProductPriceInput)
### Arguments
A list of `PriceListProductPriceInput` that identifies which products to update the fixed prices for.
* pricesToDeleteByProductIds
[\[ID!\]](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID)
A list of product IDs that identifies which products to remove the fixed prices for.
* priceListId
[ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID)
required
The price list to update the prices for.
***
* [productCreate](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productCreate)
mutation
Creates a [product](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product) with attributes such as title, description, vendor, and media.
The `productCreate` mutation helps you create many products at once, avoiding the tedious or time-consuming process of adding them one by one in the Shopify admin. Common examples include creating products for a new collection, launching a new product line, or adding seasonal products.
You can define product [options](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductOption) and [values](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductOptionValue), allowing you to create products with different variations like sizes or colors. You can also associate media files to your products, including images and videos.
The `productCreate` mutation only supports creating a product with its initial [product variant](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductVariant). To create multiple product variants for a single product and manage prices, use the [`productVariantsBulkCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productVariantsBulkCreate) mutation.
***
Note
The `productCreate` mutation has a [throttle](https://shopify.dev/docs/api/usage/rate-limits#resource-based-rate-limits) that takes effect when a store has 50,000 product variants. After this threshold is reached, no more than 1,000 new product variants can be created per day.
***
After you create a product, you can make subsequent edits to the product using one of the following mutations:
* [`publishablePublish`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/publishablePublish): Used to publish the product and make it available to customers. The `productCreate` mutation creates products in an unpublished state by default, so you must perform a separate operation to publish the product.
* [`productUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productUpdate): Used to update a single product, such as changing the product's title, description, vendor, or associated media.
* [`productSet`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productSet): Used to perform multiple operations on products, such as creating or modifying product options and variants.
Learn more about the [product model](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model) and [adding product data](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model/add-data).
* input
[ProductInput](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/ProductInput)
Deprecated
### Arguments
* product
[ProductCreateInput](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/ProductCreateInput)
The attributes of the new product.
* media
[\[CreateMediaInput!\]](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/CreateMediaInput)
The media to add to the product.
***
* [productDuplicate](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productDuplicate)
mutation
Duplicates a product.
If you need to duplicate a large product, such as one that has many [variants](https://shopify.dev/api/admin-graphql/latest/input-objects/ProductVariantInput) that are active at several [locations](https://shopify.dev/api/admin-graphql/latest/input-objects/InventoryLevelInput), you might encounter timeout errors.
To avoid these timeout errors, you can instead duplicate the product asynchronously.
In API version 2024-10 and higher, include `synchronous: false` argument in this mutation to perform the duplication asynchronously.
In API version 2024-07 and lower, use the asynchronous [`ProductDuplicateAsyncV2`](https://shopify.dev/api/admin-graphql/2024-07/mutations/productDuplicateAsyncV2).
Metafield values are not duplicated if the unique values capability is enabled.
* productId
[ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID)
required
### Arguments
The ID of the product to be duplicated.
* newTitle
[String!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
required
The new title of the product.
* newStatus
[ProductStatus](https://shopify.dev/docs/api/admin-graphql/latest/enums/ProductStatus)
The new status of the product. If no value is provided the status will be inherited from the original product.
* includeImages
[Boolean](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
Default:false
Specifies whether or not to duplicate images.
* includeTranslations
[Boolean](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
Default:false
Specifies whether or not to duplicate translations.
* synchronous
[Boolean](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
Default:true
Specifies whether or not to run the mutation synchronously.
***
* [productJoinSellingPlanGroups](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productJoinSellingPlanGroups)
mutation
Adds multiple selling plan groups to a product.
* id
[ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID)
required
### Arguments
The ID of the product.
* sellingPlanGroupIds
[\[ID!\]!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID)
required
The IDs of the selling plan groups to add.
***
* [productLeaveSellingPlanGroups](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productLeaveSellingPlanGroups)
mutation
Removes multiple groups from a product.
* id
[ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID)
required
### Arguments
The ID of the product.
* sellingPlanGroupIds
[\[ID!\]!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID)
required
The IDs of the selling plan groups to add.
***
* [productOptionsCreate](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionsCreate)
mutation
Creates one or more [options](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductOption) on a [product](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product), such as size, color, or material. Each option includes a name, position, and a list of values. The combination of a product option and value creates a [product variant](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductVariant).
Use the `productOptionsCreate` mutation for the following use cases:
* **Add product choices**: Add a new option, like "Size" (Small, Medium, Large) or "Color" (Red, Blue, Green), to an existing product so customers can select their preferred variant.
* **Enable personalization features**: Add options such as "Engraving text" to let customers customize their purchase.
* **Offer seasonal or limited edition products**: Add a new value (for example, "Holiday red") to an existing option to support limited-time or seasonal variants.
* **Integrate with apps that manage product configuration**: Allow third-party apps to add options, like "Bundle size", when customers select or customize [product bundles](https://shopify.dev/docs/apps/build/product-merchandising/bundles).
* **Link options to metafields**: Associate a product option with a custom [metafield](https://shopify.dev/docs/apps/build/custom-data), like "Fabric code", for richer integrations with other systems or apps.
***
Note
The `productOptionsCreate` mutation enforces strict data integrity for product options and variants. All option positions must be sequential, and every option should be used by at least one variant. If you use the [`CREATE` variant strategy](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionsCreate#arguments-variantStrategy.enums.CREATE), consider the maximum allowed number of variants for each product is 2048.
***
After you create product options, you can further manage a product's configuration using related mutations:
* [`productOptionUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionUpdate)
* [`productOptionsReorder`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionsReorder)
* [`productOptionsDelete`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionsDelete)
* [`productVariantsBulkCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productVariantsBulkCreate)
* [`productVariantsBulkUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productVariantsBulkUpdate)
* [`productSet`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productSet)
Learn more about the [product model](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model) and [adding product data](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model/add-data).
* productId
[ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID)
required
### Arguments
The ID of the product to update.
* options
[\[OptionCreateInput!\]!](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/OptionCreateInput)
required
Options to add to the product.
* variantStrategy
[ProductOptionCreateVariantStrategy](https://shopify.dev/docs/api/admin-graphql/latest/enums/ProductOptionCreateVariantStrategy)
Default:LEAVE\_AS\_IS
The strategy defines which behavior the mutation should observe regarding variants. If not provided or set to null, the strategy `LEAVE_AS_IS` will be used.
***
* [productOptionsDelete](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionsDelete)
mutation
Deletes one or more [options](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductOption) from a [product](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product). Product options define the choices available for a product, such as size, color, or material.
***
Caution
Removing an option can affect a product's [variants](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductVariant) and their configuration. Deleting an option might also delete associated option values and, depending on the chosen [strategy](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productoptionsdelete#arguments-strategy), might affect variants.
***
Use the `productOptionsDelete` mutation for the following use cases:
* **Simplify product configuration**: Remove obsolete or unnecessary options (for example, discontinue "Material" if all variants are now the same material).
* **Clean up after seasonal or limited-time offerings**: Delete options that are no longer relevant (for example, "Holiday edition").
* **Automate catalog management**: Enable apps or integrations to programmatically remove options as product data changes.
***
Note
The `productOptionsDelete` mutation enforces strict data integrity for product options and variants. All option positions must remain sequential, and every remaining option must be used by at least one variant.
***
After you delete a product option, you can further manage a product's configuration using related mutations:
* [`productOptionsCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionsCreate)
* [`productOptionUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionUpdate)
* [`productOptionsReorder`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionsReorder)
* [`productVariantsBulkCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productVariantsBulkCreate)
* [`productVariantsBulkUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productVariantsBulkUpdate)
* [`productSet`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productSet)
Learn more about the [product model](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model) and [adding product data](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model/add-data).
* productId
[ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID)
required
### Arguments
ID of the product from which to delete the options.
* options
[\[ID!\]!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID)
required
IDs of the options to delete from the product.
* strategy
[ProductOptionDeleteStrategy](https://shopify.dev/docs/api/admin-graphql/latest/enums/ProductOptionDeleteStrategy)
Default:DEFAULT
The strategy defines which behavior the mutation should observe,such as how to handle a situation where deleting an option would result in duplicate variants.
***
* [productOptionsReorder](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionsReorder)
mutation
Reorders the [options](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductOption) and [option values](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductOptionValue) on a [product](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product), updating the order in which [product variants](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductVariant) are presented to customers.
The `productOptionsReorder` mutation accepts a list of product options, each identified by `id` or `name`, and an optional list of values (also by `id` or `name`) specifying the new order. The order of options in the mutation's input determines their new positions (for example, the first option becomes `option1`). The order of values within each option determines their new positions. The mutation recalculates the order of variants based on the new option and value order.
Suppose a product has the following variants:
1. `"Red / Small"`
2. `"Green / Medium"`
3. `"Blue / Small"`
You reorder options and values:
```
options: [
{ name: "Size", values: [{ name: "Small" }, { name: "Medium" }] },
{ name: "Color", values: [{ name: "Green" }, { name: "Red" }, { name: "Blue" }] }
]
```
The resulting variant order will be:
1. `"Small / Green"`
2. `"Small / Red"`
3. `"Small / Blue"`
4. `"Medium / Green"`
Use the `productOptionsReorder` mutation for the following use cases:
* **Change the order of product options**: For example, display "Color" before "Size" in a store.
* **Reorder option values within an option**: For example, show "Red" before "Blue" in a color picker.
* **Control the order of product variants**: The order of options and their values determines the sequence in which variants are listed and selected.
* **Highlight best-selling options**: Present the most popular or relevant options and values first.
* **Promote merchandising strategies**: Highlight seasonal colors, limited editions, or featured sizes.
***
Note
The `productOptionsReorder` mutation enforces strict data integrity for product options and variants. All option positions must be sequential, and every option should be used by at least one variant.
***
After you reorder product options, you can further manage a product's configuration using related mutations:
* [`productOptionsCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionsCreate)
* [`productOptionsDelete`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionsDelete)
* [`productVariantsBulkCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productVariantsBulkCreate)
* [`productVariantsBulkUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productVariantsBulkUpdate)
* [`productSet`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productSet)
Learn more about the [product model](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model) and [managing product data](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model/add-data).
* productId
[ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID)
required
### Arguments
The ID of the product to update.
* options
[\[OptionReorderInput!\]!](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/OptionReorderInput)
required
Options to reorder on the product.
***
* [productOptionUpdate](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionUpdate)
mutation
Updates an [option](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductOption) on a [product](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product), such as size, color, or material. Each option includes a name, position, and a list of values. The combination of a product option and value creates a [product variant](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductVariant).
Use the `productOptionUpdate` mutation for the following use cases:
* **Update product choices**: Modify an existing option, like "Size" (Small, Medium, Large) or "Color" (Red, Blue, Green), so customers can select their preferred variant.
* **Enable personalization features**: Update an option (for example, "Engraving text") to let customers customize their purchase.
* **Offer seasonal or limited edition products**: Update a value (for example, "Holiday red") on an existing option to support limited-time or seasonal variants.
* **Integrate with apps that manage product configuration**: Allow third-party apps to update options, like "Bundle size", when customers select or customize [product bundles](https://shopify.dev/docs/apps/build/product-merchandising/bundles).
* **Link options to metafields**: Associate a product option with a custom [metafield](https://shopify.dev/docs/apps/build/custom-data), like "Fabric code", for richer integrations with other systems or apps.
***
Note
The `productOptionUpdate` mutation enforces strict data integrity for product options and variants. All option positions must be sequential, and every option should be used by at least one variant.
***
After you update a product option, you can further manage a product's configuration using related mutations:
* [`productOptionsCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionsCreate)
* [`productOptionsDelete`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionsDelete)
* [`productOptionsReorder`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionsReorder)
* [`productVariantsBulkCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productVariantsBulkCreate)
* [`productVariantsBulkUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productVariantsBulkUpdate)
* [`productSet`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productSet)
Learn more about the [product model](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model) and [adding product data](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model/add-data).
* option
[OptionUpdateInput!](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/OptionUpdateInput)
required
### Arguments
Option to update.
* productId
[ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID)
required
The ID of the Product the Option belongs to.
* optionValuesToAdd
[\[OptionValueCreateInput!\]](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/OptionValueCreateInput)
New option values to create.
* optionValuesToUpdate
[\[OptionValueUpdateInput!\]](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/OptionValueUpdateInput)
Existing option values to update.
* optionValuesToDelete
[\[ID!\]](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID)
IDs of the existing option values to delete.
* variantStrategy
[ProductOptionUpdateVariantStrategy](https://shopify.dev/docs/api/admin-graphql/latest/enums/ProductOptionUpdateVariantStrategy)
The strategy defines which behavior the mutation should observe regarding variants, such as creating variants or deleting them in response to option values to add or to delete. If not provided or set to null, the strategy `LEAVE_AS_IS` will be used.
***
* [productSet](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productSet)
mutation
Performs multiple operations to create or update products in a single request.
Use the `productSet` mutation to sync information from an external data source into Shopify, manage large product catalogs, and perform batch updates. The mutation is helpful for bulk product management, including price adjustments, inventory updates, and product lifecycle management.
The behavior of `productSet` depends on the type of field it's modifying:
* **For list fields**: Creates new entries, updates existing entries, and deletes existing entries that aren't included in the mutation's input. Common examples of list fields include [`collections`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productSet#arguments-input.fields.collections), [`metafields`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productSet#arguments-input.fields.metafields), and [`variants`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productSet#arguments-input.fields.variants).
* **For all other field types**: Updates only the included fields. Any omitted fields will remain unchanged.
***
Note
By default, stores have a limit of 2048 product variants for each product.
***
You can run `productSet` in one of the following modes:
* **Synchronously**: Returns the updated product in the response.
* **Asynchronously**: Returns a [`ProductSetOperation`](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductSetOperation) object. Use the [`productOperation`](https://shopify.dev/api/admin-graphql/latest/queries/productOperation) query to check the status of the operation and retrieve details of the updated product and its product variants.
If you need to only manage product variants, then use one of the following mutations:
* [`productVariantsBulkCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productVariantsBulkCreate)
* [`productVariantsBulkUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productVariantsBulkUpdate)
* [`productVariantsBulkDelete`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productVariantsBulkDelete)
If you need to only manage product options, then use one of the following mutations:
* [`productOptionsCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionsCreate)
* [`productOptionUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionUpdate)
* [`productOptionsReorder`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionsReorder)
* [`productOptionsDelete`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionsDelete)
Learn more about [syncing product data from an external source](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model/sync-data).
* input
[ProductSetInput!](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/ProductSetInput)
required
### Arguments
The properties of the newly created or updated product.
* synchronous
[Boolean](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
Default:true
Whether the mutation should be run synchronously or asynchronously.
If `true`, the mutation will return the updated `product`.
If `false`, the mutation will return a `productSetOperation`.
Defaults to `true`.
Setting `synchronous: false` may be desirable depending on the input complexity/size, and should be used if you are experiencing timeouts.
**Note**: When run in the context of a [bulk operation](https://shopify.dev/api/usage/bulk-operations/imports), the mutation will always run synchronously and this argument will be ignored.
* identifier
[ProductSetIdentifiers](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/ProductSetIdentifiers)
Specifies the identifier that will be used to lookup the resource.
***
* [productUpdate](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productUpdate)
mutation
Updates a [product](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product) with attributes such as title, description, vendor, and media.
The `productUpdate` mutation helps you modify many products at once, avoiding the tedious or time-consuming process of updating them one by one in the Shopify admin. Common examples including updating product details like status or tags.
The `productUpdate` mutation doesn't support updating [product variants](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductVariant). To update multiple product variants for a single product and manage prices, use the [`productVariantsBulkUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productVariantsBulkUpdate) mutation.
***
Note
The `productUpdate` mutation has a [throttle](https://shopify.dev/docs/api/usage/rate-limits#resource-based-rate-limits) that takes effect when a store has 50,000 product variants. After this threshold is reached, no more than 1,000 new product variants can be updated per day.
***
After updating a product, you can make additional changes using one of the following mutations:
* [`productSet`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productSet): Used to perform multiple operations on products, such as creating or modifying product options and variants.
* [`publishablePublish`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/publishablePublish): Used to publish the product and make it available to customers, if the product is currently unpublished.
Learn more about the [product model](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model) and [adding product data](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model/add-data).
* input
[ProductInput](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/ProductInput)
Deprecated
### Arguments
* product
[ProductUpdateInput](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/ProductUpdateInput)
The updated properties for a product.
* media
[\[CreateMediaInput!\]](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/CreateMediaInput)
List of new media to be added to the product.
***
* [productVariantAppendMedia](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productVariantAppendMedia)
mutation
Appends existing media from a product to specific variants of that product, creating associations between media files and particular product options. This allows different variants to showcase relevant images or videos.
For example, a t-shirt product might have color variants where each color variant displays only the images showing that specific color, helping customers see exactly what they're purchasing.
Use `ProductVariantAppendMedia` to:
* Associate specific images with product variants for accurate display
* Build variant-specific media management in product interfaces
* Implement automated media assignment based on variant attributes
The operation links existing product media to variants without duplicating files, maintaining efficient media storage while enabling variant-specific displays.
Learn more about [product variants](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductVariant).
* productId
[ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID)
required
### Arguments
Specifies the product associated to the media.
* variantMedia
[\[ProductVariantAppendMediaInput!\]!](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/ProductVariantAppendMediaInput)
required
A list of pairs of variants and media to be attached to the variants.
***
* [productVariantDetachMedia](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productVariantDetachMedia)
mutation
Detaches media from product variants.
* productId
[ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID)
required
### Arguments
Specifies the product to which the variants and media are associated.
* variantMedia
[\[ProductVariantDetachMediaInput!\]!](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/ProductVariantDetachMediaInput)
required
A list of pairs of variants and media to be deleted from the variants.
***
* [productVariantsBulkCreate](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productVariantsBulkCreate)
mutation
Creates multiple [product variants](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductVariant) for a single [product](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product) in one operation. You can run this mutation directly or as part of a [bulk operation](https://shopify.dev/docs/api/usage/bulk-operations/imports) for large-scale catalog updates.
Use the `productVariantsBulkCreate` mutation to efficiently add new product variants—such as different sizes, colors, or materials—to an existing product. The mutation is helpful if you need to add product variants in bulk, such as importing from an external system.
The mutation supports:
* Creating variants with custom option values
* Associating media (for example, images, videos, and 3D models) with the product or its variants
* Handling complex product configurations
***
Note
By default, stores have a limit of 2048 product variants for each product.
***
After creating variants, you can make additional changes using one of the following mutations:
* [`productVariantsBulkUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productVariantsBulkUpdate): Updates multiple product variants for a single product in one operation.
* [`productSet`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productSet): Used to perform multiple operations on products, such as creating or modifying product options and variants.
You can also specifically manage product options through related mutations:
* [`productOptionsCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionsCreate)
* [`productOptionUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionUpdate)
* [`productOptionsReorder`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionsReorder)
* [`productOptionsDelete`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionsDelete)
Learn more about the [product model](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model) and [adding product data](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model/add-data).
* variants
[\[ProductVariantsBulkInput!\]!](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/ProductVariantsBulkInput)
required
### Arguments
An array of product variants to be created.
* productId
[ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID)
required
The ID of the product on which to create the variants.
* media
[\[CreateMediaInput!\]](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/CreateMediaInput)
List of new media to be added to the product.
* strategy
[ProductVariantsBulkCreateStrategy](https://shopify.dev/docs/api/admin-graphql/latest/enums/ProductVariantsBulkCreateStrategy)
Default:DEFAULT
The strategy defines which behavior the mutation should observe, such as whether to keep or delete the standalone variant (when product has only a single or default variant) when creating new variants in bulk.
***
* [productVariantsBulkDelete](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productVariantsBulkDelete)
mutation
Deletes multiple variants in a single [`Product`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product). Specify the product ID and an array of variant IDs to remove variants in bulk. You can call this mutation directly or through the [`bulkOperationRunMutation`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/bulkOperationRunMutation) mutation. Returns the updated product and any [`UserError`](https://shopify.dev/docs/api/admin-graphql/latest/objects/UserError) objects.
* variantsIds
[\[ID!\]!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID)
required
### Arguments
An array of product variants IDs to delete.
* productId
[ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID)
required
The ID of the product with the variants to update.
***
* [productVariantsBulkReorder](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productVariantsBulkReorder)
mutation
Reorders multiple variants in a single product. This mutation can be called directly or via the bulkOperation.
* productId
[ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID)
required
### Arguments
The product ID of the variants to be reordered.
* positions
[\[ProductVariantPositionInput!\]!](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/ProductVariantPositionInput)
required
An array of variant positions.
***
* [productVariantsBulkUpdate](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productVariantsBulkUpdate)
mutation
Updates multiple [product variants](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductVariant) for a single [product](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product) in one operation. You can run this mutation directly or as part of a [bulk operation](https://shopify.dev/docs/api/usage/bulk-operations/imports) for large-scale catalog updates.
Use the `productVariantsBulkUpdate` mutation to efficiently modify product variants—such as different sizes, colors, or materials—associated with an existing product. The mutation is helpful if you need to update a product's variants in bulk, such as importing from an external system.
The mutation supports:
* Updating variants with custom option values
* Associating media (for example, images, videos, and 3D models) with the product or its variants
* Handling complex product configurations
***
Note
By default, stores have a limit of 2048 product variants for each product.
***
After creating variants, you can make additional changes using the [`productSet`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productSet) mutation, which is used to perform multiple operations on products, such as creating or modifying product options and variants.
You can also specifically manage product options through related mutations:
* [`productOptionsCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionsCreate)
* [`productOptionUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionUpdate)
* [`productOptionsReorder`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionsReorder)
* [`productOptionsDelete`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionsDelete)
Learn more about the [product model](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model) and [adding product data](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model/add-data).
* variants
[\[ProductVariantsBulkInput!\]!](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/ProductVariantsBulkInput)
required
### Arguments
An array of product variants to update.
* productId
[ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID)
required
The ID of the product associated with the variants to update.
* media
[\[CreateMediaInput!\]](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/CreateMediaInput)
List of new media to be added to the product.
* allowPartialUpdates
[Boolean](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
Default:false
When partial updates are allowed, valid variant changes may be persisted even if some of the variants updated have invalid data and cannot be persisted. When partial updates are not allowed, any error will prevent all variants from updating.
***
### Deprecated mutations
* [productChangeStatus](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productChangeStatus)
mutation
Deprecated
* productId
[ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID)
required
### Arguments
The ID of the product.
* status
[ProductStatus!](https://shopify.dev/docs/api/admin-graphql/latest/enums/ProductStatus)
required
The status to be assigned to the product.
***
* [productCreateMedia](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productCreateMedia)
mutation
Deprecated
* productId
[ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID)
required
### Arguments
Specifies the product associated with the media.
* media
[\[CreateMediaInput!\]!](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/CreateMediaInput)
required
List of new media to be added to a product.
***
* [productDeleteMedia](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productDeleteMedia)
mutation
Deprecated
* productId
[ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID)
required
### Arguments
Specifies the product ID from which the media will be deleted.
* mediaIds
[\[ID!\]!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID)
required
The media IDs to be deleted.
***
* [productPublish](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productPublish)
mutation
Deprecated
* input
[ProductPublishInput!](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/ProductPublishInput)
required
### Arguments
Specifies the product to publish and the channels to publish it to.
***
* [productUnpublish](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productUnpublish)
mutation
Deprecated
* input
[ProductUnpublishInput!](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/ProductUnpublishInput)
required
### Arguments
Specifies the product to unpublish and the channel to unpublish it from.
***
* [productUpdateMedia](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productUpdateMedia)
mutation
Deprecated
* productId
[ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID)
required
### Arguments
Specifies the product on which media will be updated.
* media
[\[UpdateMediaInput!\]!](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/UpdateMediaInput)
required
A list of media updates.
***
***
## <\~> Product Mutations
### Mutated by
* <\~>[combinedListingUpdate](https://shopify.dev/docs/api/admin-graphql/latest/mutations/combinedListingUpdate)
* <\~>[priceListFixedPricesByProductUpdate](https://shopify.dev/docs/api/admin-graphql/latest/mutations/priceListFixedPricesByProductUpdate)
* <\~>[productCreate](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productCreate)
* <\~>[productDuplicate](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productDuplicate)
* <\~>[productJoinSellingPlanGroups](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productJoinSellingPlanGroups)
* <\~>[productLeaveSellingPlanGroups](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productLeaveSellingPlanGroups)
* <\~>[productOptionUpdate](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionUpdate)
* <\~>[productOptionsCreate](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionsCreate)
* <\~>[productOptionsDelete](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionsDelete)
* <\~>[productOptionsReorder](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionsReorder)
* <\~>[productSet](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productSet)
* <\~>[productUpdate](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productUpdate)
* <\~>[productVariantAppendMedia](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productVariantAppendMedia)
* <\~>[productVariantDetachMedia](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productVariantDetachMedia)
* <\~>[productVariantsBulkCreate](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productVariantsBulkCreate)
* <\~>[productVariantsBulkDelete](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productVariantsBulkDelete)
* <\~>[productVariantsBulkReorder](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productVariantsBulkReorder)
* <\~>[productVariantsBulkUpdate](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productVariantsBulkUpdate)
***
## Interfaces
* * [HasEvents](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/HasEvents)
interface
* [HasMetafieldDefinitions](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/HasMetafieldDefinitions)
interface
* [HasMetafields](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/HasMetafields)
interface
* [HasPublishedTranslations](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/HasPublishedTranslations)
interface
* [LegacyInteroperability](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/LegacyInteroperability)
interface
* [Navigable](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/Navigable)
interface
* [Node](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/Node)
interface
* [OnlineStorePreviewable](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/OnlineStorePreviewable)
interface
* [Publishable](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/Publishable)
interface
***
## ||-Product Implements
### Implements
* ||-[HasEvents](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/HasEvents)
* ||-[HasMetafieldDefinitions](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/HasMetafieldDefinitions)
* ||-[HasMetafields](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/HasMetafields)
* ||-[HasPublishedTranslations](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/HasPublishedTranslations)
* ||-[LegacyInteroperability](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/LegacyInteroperability)
* ||-[Navigable](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/Navigable)
* ||-[Node](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/Node)
* ||-[OnlineStorePreviewable](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/OnlineStorePreviewable)
* ||-[Publishable](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/Publishable)