Anchor to ProductOptionUpdateUserErrorProduct
Product Option Update 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
Updates a product option.
- Anchor to optionoption•Option
Update Input!required Option to update.
- Anchor to optionValuesToAddoption•
Values To Add New option values to create.
- Anchor to optionValuesToDeleteoption•
Values To Delete IDs of the existing option values to delete.
- Anchor to optionValuesToUpdateoption•
Values To Update Existing option values to update.
- Anchor to productIdproduct•
Id ID!required The ID of the Product the Option belongs to.
- Anchor to variantStrategyvariant•
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•
The product with which the option being updated is associated.
- Anchor to userErrorsuser•
Errors [ProductOption Update User Error!]!non-null The list of errors that occurred from executing the mutation.
Fields
Was this section helpful?