ProductVariantBulkUpdateInput
Input fields to update product variants.
Added in Saleor 3.11input ProductVariantBulkUpdateInput {
attributes: [BulkAttributeValueInput!]
sku: String
name: String
trackInventory: Boolean
weight: WeightScalar
preorder: PreorderSettingsInput
quantityLimitPerCustomer: Int
metadata: [MetadataInput!]
privateMetadata: [MetadataInput!]
externalReference: String
stocks: ProductVariantStocksUpdateInput
channelListings: ProductVariantChannelListingUpdateInput
id: ID!
}
Fields
ProductVariantBulkUpdateInput.attributes
● [BulkAttributeValueInput!]
list input products
List of attributes specific to this variant.
ProductVariantBulkUpdateInput.sku
● String
scalar miscellaneous
Stock keeping unit.
ProductVariantBulkUpdateInput.name
● String
scalar miscellaneous
Variant name.
ProductVariantBulkUpdateInput.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.
ProductVariantBulkUpdateInput.weight
● WeightScalar
scalar miscellaneous
Weight of the Product Variant.
ProductVariantBulkUpdateInput.preorder
● PreorderSettingsInput
input products
Determines if variant is in preorder.
Added in Saleor 3.1
ProductVariantBulkUpdateInput.quantityLimitPerCustomer
● Int
scalar miscellaneous
Determines maximum quantity of
Added in Saleor 3.1ProductVariant
,that can be bought in a single checkout.
ProductVariantBulkUpdateInput.metadata
● [MetadataInput!]
list input miscellaneous
Fields required to update the product variant metadata.
Added in Saleor 3.8
ProductVariantBulkUpdateInput.privateMetadata
● [MetadataInput!]
list input miscellaneous
Fields required to update the product variant private metadata.
Added in Saleor 3.8
ProductVariantBulkUpdateInput.externalReference
● String
scalar miscellaneous
External ID of this product variant.
Added in Saleor 3.10
ProductVariantBulkUpdateInput.stocks
● ProductVariantStocksUpdateInput
input products
Stocks input.
Added in Saleor 3.12This API is currently in Feature Preview and can be subject to changes at later point.
ProductVariantBulkUpdateInput.channelListings
● ProductVariantChannelListingUpdateInput
input products
Channel listings input.
Added in Saleor 3.12This API is currently in Feature Preview and can be subject to changes at later point.
ProductVariantBulkUpdateInput.id
● ID!
non-null scalar miscellaneous
ID of the product variant to update.
Member Of
productVariantBulkUpdate
mutation