Skip to main content
mutation

Requires write_products access scope. Also: The user must have a permission to update products.

Updates a product.

For versions 2024-01 and older: 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.

If you want to update a single variant, then use productVariantUpdate.

•[CreateMediaInput!]

List of new media to be added to the product.

•ProductUpdateInput

The updated properties for a product.

•ProductPreferencesInput

User product configuration settings.

•ProductInputDeprecated

Was this section helpful?

Anchor to ProductUpdatePayload returnsProductUpdatePayload returns

•Product

The updated product object.

•[UserError!]!non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?