Anchor to productUpdateproduct
mutationproduct Update
Requires 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.
Anchor to Arguments
Arguments
- Anchor to mediamedia•[Create
Media Input!] List of new media to be added to the product.
- Anchor to productproduct•Product
Update Input The updated properties for a product.
- Anchor to inputinput•Product
InputDeprecated
Was this section helpful?
- Anchor to productproduct•Product
The updated product object.
- Anchor to userErrorsuser•[User
Errors Error!]!non-null The list of errors that occurred from executing the mutation.
Was this section helpful?