Anchor to ProductUpdatePayloadProduct
ProductUpdatePayload
payload
Return type for mutation.
Anchor to FieldsFields
- Anchor to productproduct•
The updated product object.
- Anchor to userErrorsuser•
Errors [UserError!]! non-null The list of errors that occurred from executing the mutation.
Was this section helpful?
Anchor to Mutations with this payloadMutations with this payload
- •mutation
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.
Was this section helpful?