Anchor to ProductVariantsBulkCreateUserErrorProduct
objectProduct Variants Bulk Create User Error
Requires access scope.
Error codes for failed product variant bulk create mutations.
Anchor to FieldsFields
- Anchor to codecode•Product
Variants Bulk 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 multiple variants in a single product. This mutation can be called directly or via the bulkOperation.
- Anchor to mediamedia•[Create
Media Input!] List of new media to be added to the product.
- Anchor to productIdproduct•ID!required
Id The ID of the product on which to create the variants.
- Anchor to strategystrategy•Product
Variants Bulk Create StrategyDefault:DEFAULT The strategy defines which behavior the mutation should observe, such as whether to keep or delete the standalone variant (when product has only a single or default variant) when creating new variants in bulk.
- Anchor to variantsvariants•[Product
Variants Bulk Input!]!required An array of product variants to be created.
Arguments
- Anchor to productproduct•Product
The updated product object.
- Anchor to productVariantsproduct•[Product
Variants Variant!] The newly created variants.
- Anchor to userErrorsuser•[Product
Errors Variants Bulk Create User Error!]!non-null The list of errors that occurred from executing the mutation.
Fields
Was this section helpful?