Anchor to ProductOptionsCreateUserErrorProduct
objectProduct Options Create User Error
Requires access scope.
Error codes for failed mutation.
Anchor to FieldsFields
- Anchor to codecode•Product
Options Create 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
Creates options on a product.
- Anchor to optionsoptions•[Option
Create Input!]!required Options to add to the product.
- Anchor to productIdproduct•ID!required
Id The ID of the product to update.
- Anchor to variantStrategyvariant•Product
Strategy Option Create Variant StrategyDefault:LEAVE_AS_IS The strategy defines which behavior the mutation should observe regarding variants. If not provided or set to null, the strategy
will be used.
Arguments
- Anchor to productproduct•Product
The updated product object.
- Anchor to userErrorsuser•[Product
Errors Options Create User Error!]!non-null The list of errors that occurred from executing the mutation.
Fields
Was this section helpful?