stack

Home > @infiniteobjects/shopify-data-manager > AdminTypes > Mutation > productUpdate

AdminTypes.Mutation.productUpdate property

Updates a product. If you update a product and only include some variants in the update, then any variants not included will be deleted. To safely manage variants without the risk of deleting excluded variants, use [productVariantsBulkUpdate](https://shopify.dev/api/admin-graphql/latest/mutations/productvariantsbulkupdate). If you want to update a single variant, then use [productVariantUpdate](https://shopify.dev/api/admin-graphql/latest/mutations/productvariantupdate).

Signature:

productUpdate?: Maybe<ProductUpdatePayload>;