productVariantBulkCreate Mutation
Creates product variants for a given product.
productVariantBulkCreate(
errorPolicy: ErrorPolicyEnum
product: ID!
variants: [ProductVariantBulkCreateInput!]!
): ProductVariantBulkCreate
Arguments
productVariantBulkCreate.errorPolicy
● ErrorPolicyEnum
enum miscellaneous
Policies of error handling. DEFAULT: REJECT_EVERYTHING
productVariantBulkCreate.product
● ID!
non-null scalar miscellaneous
ID of the product to create the variants for.
productVariantBulkCreate.variants
● [ProductVariantBulkCreateInput!]!
non-null input products
Input list of product variants to create.
Type
ProductVariantBulkCreate
object products
Creates product variants for a given product.