ProductVariantBulkUpdateInput Input Type
Input fields to update product variants.
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 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.
ProductVariantBulkUpdateInput.quantityLimitPerCustomer
● Int
scalar miscellaneous
Determines maximum quantity of ProductVariant
,that can be bought in a single checkout.
ProductVariantBulkUpdateInput.metadata
● [MetadataInput!]
list input miscellaneous
Fields required to update the product variant metadata.
ProductVariantBulkUpdateInput.privateMetadata
● [MetadataInput!]
list input miscellaneous
Fields required to update the product variant private metadata.
ProductVariantBulkUpdateInput.externalReference
● String
scalar miscellaneous
External ID of this product variant.
ProductVariantBulkUpdateInput.stocks
● ProductVariantStocksUpdateInput
input products
Stocks input.
ProductVariantBulkUpdateInput.channelListings
● ProductVariantChannelListingUpdateInput
input products
Channel listings input.
ProductVariantBulkUpdateInput.id
● ID!
non-null scalar miscellaneous
ID of the product variant to update.
Member Of
productVariantBulkUpdate
mutation