Anchor to ProductOptionUpdateUserErrorProduct
objectProduct Option Update User Error
Requires access scope.
Error codes for failed mutation.
Anchor to FieldsFields
- Anchor to codecode•Product
Option Update User Error Code The error code.
- Anchor to fieldfield•[String!]
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
Updates a product option.
- Anchor to optionoption•Option
Update Input!required Option to update.
- Anchor to optionValuesToAddoption•[Option
Values To Add Value Create Input!] New option values to create.
- Anchor to optionValuesToDeleteoption•[ID!]
Values To Delete IDs of the existing option values to delete.
- Anchor to optionValuesToUpdateoption•[Option
Values To Update Value Update Input!] Existing option values to update.
- Anchor to productIdproduct•ID!required
Id The ID of the Product the Option belongs to.
- Anchor to variantStrategyvariant•Product
Strategy Option Update Variant Strategy 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
will be used.
Arguments
- Anchor to productproduct•Product
The product with which the option being updated is associated.
- Anchor to userErrorsuser•[Product
Errors Option Update User Error!]!non-null The list of errors that occurred from executing the mutation.
Fields
Was this section helpful?