Skip to main content
Log inSign up
Anchor to productOptionsDelete

productOptionsDelete

mutation

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

Deletes the specified options.

•
[ID!]!required

IDs of the options to delete from the product.

•
ID!required

ID of the product from which to delete the options.

•

The strategy defines which behavior the mutation should observe,such as how to handle a situation where deleting an option would result in duplicate variants.


Was this section helpful?

Anchor to ProductOptionsDeletePayload returnsProductOptionsDeletePayload returns

•

IDs of the options deleted.

•

The updated product object.

•

The list of errors that occurred from executing the mutation.


Was this section helpful?