Skip to main content

ProductVariantBulkCreate Object

Creates product variants for a given product.

Requires the MANAGE_PRODUCTSpermission.
type ProductVariantBulkCreate {
count: Int!
productVariants: [ProductVariant!]!
results: [ProductVariantBulkResult!]!
bulkProductErrors: [BulkProductError!]! @deprecated
errors: [BulkProductError!]!
}

Fields

count ● Int!

Returns how many objects were created.

productVariants ● [ProductVariant!]!

List of the created variants.

results ● [ProductVariantBulkResult!]!

List of the created variants.

errors ● [BulkProductError!]!

Show deprecated

Returned By

productVariantBulkCreate mutation