Anchor to ProductOptionsDeleteUserErrorProduct
Product Options Delete User Error
object
Requires access scope.
Error codes for failed mutation.
Anchor to FieldsFields
- Anchor to codecode•
The error code.
- Anchor to fieldfield•
The path to the input field that caused the error.
- Anchor to messagemessage•String!non-null
The error message.
Was this section helpful?
Anchor to MutationsMutations
- •mutation
Deletes the specified options.
- 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.
Arguments
- 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.
Fields
Was this section helpful?