ProductVariantBulkCreate
Creates product variants for a given product.
type ProductVariantBulkCreate {
count: Int!
productVariants: [ProductVariant!]!
results: [ProductVariantBulkResult!]!
bulkProductErrors: [BulkProductError!]! @deprecated
errors: [BulkProductError!]!
}
Fields
ProductVariantBulkCreate.count
● Int!
non-null scalar miscellaneous
Returns how many objects were created.
ProductVariantBulkCreate.productVariants
● [ProductVariant!]!
non-null object products
List of the created variants.This field will be removed in Saleor 4.0.
ProductVariantBulkCreate.results
● [ProductVariantBulkResult!]!
non-null object products
List of the created variants.
Added in Saleor 3.11
ProductVariantBulkCreate.bulkProductErrors
● [BulkProductError!]!
deprecated non-null object products
DEPRECATEDThis field will be removed in Saleor 4.0. Use
errors
field instead.
ProductVariantBulkCreate.errors
● [BulkProductError!]!
non-null object products
Returned By
productVariantBulkCreate
mutation