Skip to main content
Version: 3.x

ProductVariantBulkCreate

Creates product variants for a given product.

Requires one of the following permissions: MANAGE_PRODUCTS.

type ProductVariantBulkCreate {
count: Int!
productVariants: [ProductVariant!]!
bulkProductErrors: [BulkProductError!]!
errors: [BulkProductError!]!
}

Fields

count (Int!)

Returns how many objects were created.

productVariants ([ProductVariant!]!)

List of the created variants.

bulkProductErrors ([BulkProductError!]!)

errors ([BulkProductError!]!)