ProductVariantInput Input Type
No description
input ProductVariantInput {
attributes: [AttributeValueInput!]
sku: String
name: String
trackInventory: Boolean
weight: WeightScalar
preorder: PreorderSettingsInput
quantityLimitPerCustomer: Int
metadata: [MetadataInput!]
privateMetadata: [MetadataInput!]
externalReference: String
}
Fields
ProductVariantInput.attributes ● [AttributeValueInput!] list input attributes
List of attributes specific to this variant.
ProductVariantInput.sku ● String scalar miscellaneous
Stock keeping unit.
ProductVariantInput.name ● String scalar miscellaneous
Variant name.
ProductVariantInput.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.
ProductVariantInput.weight ● WeightScalar scalar miscellaneous
Weight of the Product Variant.
ProductVariantInput.preorder ● PreorderSettingsInput input products
Determines if variant is in preorder.
ProductVariantInput.quantityLimitPerCustomer ● Int scalar miscellaneous
Determines maximum quantity of ProductVariant,that can be bought in a single checkout.
ProductVariantInput.metadata ● [MetadataInput!] list input miscellaneous
Fields required to update the product variant metadata. Can be read by any API client authorized to read the object it's attached to.
Warning: never store sensitive information, including financial data such as credit card details.
ProductVariantInput.privateMetadata ● [MetadataInput!] list input miscellaneous
Fields required to update the product variant private metadata. Requires permissions to modify and to read the metadata of the object it's attached to.
Warning: never store sensitive information, including financial data such as credit card details.
ProductVariantInput.externalReference ● String scalar miscellaneous
External ID of this product variant.
Member Of
productVariantUpdate mutation