Skip to main content

ProductVariantBulkUpdateInput

Input fields to update product variants.

Added in Saleor 3.11
input 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

List of attributes specific to this variant.

ProductVariantBulkUpdateInput.sku ● String scalar

Stock keeping unit.

ProductVariantBulkUpdateInput.name ● String scalar

Variant name.

ProductVariantBulkUpdateInput.trackInventory ● Boolean scalar

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

ProductVariantBulkUpdateInput.weight ● WeightScalar scalar

Weight of the Product Variant.

ProductVariantBulkUpdateInput.preorder ● PreorderSettingsInput input

Determines if variant is in preorder.

Added in Saleor 3.1

ProductVariantBulkUpdateInput.quantityLimitPerCustomer ● Int scalar

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

Added in Saleor 3.1

ProductVariantBulkUpdateInput.metadata ● [MetadataInput!] list input

Fields required to update the product variant metadata.

Added in Saleor 3.8

ProductVariantBulkUpdateInput.privateMetadata ● [MetadataInput!] list input

Fields required to update the product variant private metadata.

Added in Saleor 3.8

ProductVariantBulkUpdateInput.externalReference ● String scalar

External ID of this product variant.

Added in Saleor 3.10

ProductVariantBulkUpdateInput.stocks ● ProductVariantStocksUpdateInput input

Stocks input.

Added in Saleor 3.12
This API is currently in Feature Preview and can be subject to changes at later point.

ProductVariantBulkUpdateInput.channelListings ● ProductVariantChannelListingUpdateInput input

Channel listings input.

Added in Saleor 3.12
This API is currently in Feature Preview and can be subject to changes at later point.

ProductVariantBulkUpdateInput.id ● ID! non-null scalar

ID of the product variant to update.

Member of

productVariantBulkUpdate mutation


Was this page helpful?