ProductVariantBulkCreateInput
No description
input ProductVariantBulkCreateInput {
attributes: [BulkAttributeValueInput!]!
sku: String
name: String
trackInventory: Boolean
weight: WeightScalar
preorder: PreorderSettingsInput
quantityLimitPerCustomer: Int
metadata: [MetadataInput!]
privateMetadata: [MetadataInput!]
externalReference: String
stocks: [StockInput!]
channelListings: [ProductVariantChannelListingAddInput!]
}
Fields
ProductVariantBulkCreateInput.attributes
● [BulkAttributeValueInput!]!
non-null input products
List of attributes specific to this variant.
ProductVariantBulkCreateInput.sku
● String
scalar miscellaneous
Stock keeping unit.
ProductVariantBulkCreateInput.name
● String
scalar miscellaneous
Variant name.
ProductVariantBulkCreateInput.trackInventory
● Boolean
scalar miscellaneous
Determines if the inventory of this variant should be tracked. If false, the quantity won't change when customers buy this item. If the field is not provided,
Shop.trackInventoryByDefault
will be used.
ProductVariantBulkCreateInput.weight
● WeightScalar
scalar miscellaneous
Weight of the Product Variant.
ProductVariantBulkCreateInput.preorder
● PreorderSettingsInput
input products
Determines if variant is in preorder.
Added in Saleor 3.1
ProductVariantBulkCreateInput.quantityLimitPerCustomer
● Int
scalar miscellaneous
Determines maximum quantity of
Added in Saleor 3.1ProductVariant
,that can be bought in a single checkout.
ProductVariantBulkCreateInput.metadata
● [MetadataInput!]
list input miscellaneous
Fields required to update the product variant metadata.
Added in Saleor 3.8
ProductVariantBulkCreateInput.privateMetadata
● [MetadataInput!]
list input miscellaneous
Fields required to update the product variant private metadata.
Added in Saleor 3.8
ProductVariantBulkCreateInput.externalReference
● String
scalar miscellaneous
External ID of this product variant.
Added in Saleor 3.10
ProductVariantBulkCreateInput.stocks
● [StockInput!]
list input products
Stocks of a product available for sale.
ProductVariantBulkCreateInput.channelListings
● [ProductVariantChannelListingAddInput!]
list input products
List of prices assigned to channels.
Member Of
ProductBulkCreateInput
input