Skip to main content
Version: 3.x

ProductVariantBulkCreateInput

No description

input ProductVariantBulkCreateInput {
attributes: [BulkAttributeValueInput!]!
sku: String
name: String
trackInventory: Boolean
weight: WeightScalar
preorder: PreorderSettingsInput
quantityLimitPerCustomer: Int
stocks: [StockInput!]
channelListings: [ProductVariantChannelListingAddInput!]
}

Fields

attributes ([BulkAttributeValueInput!]!)

List of attributes specific to this variant.

sku (String)

Stock keeping unit.

name (String)

Variant name.

trackInventory (Boolean)

Determines if the inventory of this variant should be tracked. If false, the quantity won't change when customers buy this item.

weight (WeightScalar)

Weight of the Product Variant.

preorder (PreorderSettingsInput)

Determines if variant is in preorder.

Added in Saleor 3.1.

Note: this API is currently in Feature Preview and can be subject to changes at later point.

quantityLimitPerCustomer (Int)

Determines maximum quantity of ProductVariant,that can be bought in a single checkout.

Added in Saleor 3.1.

Note: this API is currently in Feature Preview and can be subject to changes at later point.

stocks ([StockInput!])

Stocks of a product available for sale.

channelListings ([ProductVariantChannelListingAddInput!])

List of prices assigned to channels.