Skip to main content
Log inSign up
Anchor to productOptionsCreate

productOptionsCreate

mutation

Requires write_products access scope. Also: The user must have a permission to create product variants.

Creates options on a product.

•

Options to add to the product.

•
ID!required

The ID of the product to update.

•

The strategy defines which behavior the mutation should observe regarding variants. If not provided or set to null, the strategy LEAVE_AS_IS will be used.


Was this section helpful?

Anchor to ProductOptionsCreatePayload returnsProductOptionsCreatePayload returns

•

The updated product object.

•

The list of errors that occurred from executing the mutation.


Was this section helpful?