---
title: ProductUpdateInput - GraphQL Admin
description: The input fields for updating a product.
api_version: 2025-01
api_name: admin
type: input-object
api_type: graphql
source_url:
html: >-
https://shopify.dev/docs/api/admin-graphql/2025-01/input-objects/ProductUpdateInput
md: >-
https://shopify.dev/docs/api/admin-graphql/2025-01/input-objects/ProductUpdateInput.md
---
# ProductUpdateInput
input\_object
The input fields for updating a product.
## Fields
* category
[ID](https://shopify.dev/docs/api/admin-graphql/2025-01/scalars/ID)
The ID of the [category](https://shopify.github.io/product-taxonomy/releases/unstable/?categoryId=sg-4-17-2-17) that's associated with the product.
* collectionsToJoin
[\[ID!\]](https://shopify.dev/docs/api/admin-graphql/2025-01/scalars/ID)
A list of collection IDs to associate with the product.
* collectionsToLeave
[\[ID!\]](https://shopify.dev/docs/api/admin-graphql/2025-01/scalars/ID)
The collection IDs to disassociate from the product.
* deleteConflictingConstrainedMetafields
[Boolean](https://shopify.dev/docs/api/admin-graphql/2025-01/scalars/Boolean)
Default:false
Whether to delete metafields whose constraints don't match the product's category. Can only be used when updating the product's category.
* descriptionHtml
[String](https://shopify.dev/docs/api/admin-graphql/2025-01/scalars/String)
The description of the product, with HTML tags. For example, the description might include bold `` and italic `` text.
* giftCardTemplateSuffix
[String](https://shopify.dev/docs/api/admin-graphql/2025-01/scalars/String)
The [theme template](https://shopify.dev/docs/storefronts/themes/architecture/templates) that's used when customers view a gift card in a store.
* handle
[String](https://shopify.dev/docs/api/admin-graphql/2025-01/scalars/String)
A unique, human-readable string that's used to identify the product in URLs. A handle can contain letters, hyphens (`-`), and numbers, but no spaces. If no handle is explicitly provided, then the title is used to construct the product's handle. For example, if a product is titled "Black Sunglasses" and no handle is provided, then the handle `black-sunglasses` is generated (unless that handle is already taken, in which case a suffix is added to make the handle unique).
* id
[ID](https://shopify.dev/docs/api/admin-graphql/2025-01/scalars/ID)
The product's ID.
* metafields
[\[MetafieldInput!\]](https://shopify.dev/docs/api/admin-graphql/2025-01/input-objects/MetafieldInput)
The [custom fields](https://shopify.dev/docs/apps/build/custom-data) to associate with the product for the purposes of adding and storing additional information.
* productType
[String](https://shopify.dev/docs/api/admin-graphql/2025-01/scalars/String)
The [product type](https://help.shopify.com/manual/products/details/product-type) that merchants define.
* redirectNewHandle
[Boolean](https://shopify.dev/docs/api/admin-graphql/2025-01/scalars/Boolean)
Whether a redirect is required after a new handle has been provided. If `true`, then the old handle is redirected to the new one automatically.
* requiresSellingPlan
[Boolean](https://shopify.dev/docs/api/admin-graphql/2025-01/scalars/Boolean)
Whether the product can only be purchased with a [selling plan](https://shopify.dev/docs/apps/build/purchase-options/subscriptions/selling-plans). 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.
* seo
[SEOInput](https://shopify.dev/docs/api/admin-graphql/2025-01/input-objects/SEOInput)
The [SEO title and description](https://help.shopify.com/manual/promoting-marketing/seo/adding-keywords) that are associated with a product.
* status
[ProductStatus](https://shopify.dev/docs/api/admin-graphql/2025-01/enums/ProductStatus)
The [product status](https://help.shopify.com/manual/products/details/product-details-page#product-status), which controls visibility across all sales channels.
* tags
[\[String!\]](https://shopify.dev/docs/api/admin-graphql/2025-01/scalars/String)
A 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`](https://shopify.dev/api/admin-graphql/latest/mutations/tagsadd) mutation.
* templateSuffix
[String](https://shopify.dev/docs/api/admin-graphql/2025-01/scalars/String)
The [theme template](https://shopify.dev/docs/storefronts/themes/architecture/templates) that's used when customers view a product in a store.
* title
[String](https://shopify.dev/docs/api/admin-graphql/2025-01/scalars/String)
The name for the product that displays to customers. If no handle is explicitly provided, then the title is used to construct the product's handle. For example, if a product is titled "Black Sunglasses" and no handle is provided, then the handle `black-sunglasses` is generated.
* vendor
[String](https://shopify.dev/docs/api/admin-graphql/2025-01/scalars/String)
The name of the product's vendor.
***
## Map
No referencing types