Anchor to section titled 'undefined'

productOptionUpdate
mutation

Requires write_products access scope. Also: The user must have a permission to edit products and manage product variants.

Updates a product option.


Option to update.

New option values to create.

IDs of the existing option values to delete.

Existing option values to update.

Anchor to productId
productId
required

The ID of the Product the Option belongs to.

The strategy defines which behavior the mutation should observe regarding variants, such as creating variants or deleting them in response to option values to add or to delete. If not provided or set to null, the strategy LEAVE_AS_IS will be used.


Was this section helpful?

The product with which the option being updated is associated.

The list of errors that occurred from executing the mutation.


Was this section helpful?