Anchor to productOptionsCreateproduct
mutationproduct Options Create
Requires access scope. Also: The user must have a permission to create product variants.
Creates options on a product.
Anchor to Arguments
Arguments
- 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.
Was this section helpful?
- 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.
Was this section helpful?