Anchor to productOptionsDeleteproduct
product Options Delete
mutation
Requires access scope. Also: The user must have a permission to edit products and delete product variants.
Deletes the specified options.
Anchor to Arguments
Arguments
- Anchor to optionsoptions•[ID!]!required
IDs of the options to delete from the product.
- Anchor to productIdproduct•
Id ID!required ID of the product from which to delete the options.
- Anchor to strategystrategy•Product
Option Delete StrategyDefault:DEFAULT 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 deletedOptionsIdsdeleted•
Options Ids IDs of the options deleted.
- Anchor to productproduct•
The updated product object.
- Anchor to userErrorsuser•
Errors The list of errors that occurred from executing the mutation.
Was this section helpful?