ProductVariantInput Input Object
Fields
#
allowBackorders
Whether to allow backorders for this product variant, if backorders are permitted at the marketplace level
isDigital
Set whether this variant is digital by default, will be overridden by product type attached to product if available
isPriceOverrideAllowed
Set whether this variant allows price overrides by default, will be overridden by product type attached to product if available
isPublished
Informs whether a collection is published. All variants are published by default
isShippingRequired
Set whether this variant requires shipping by default, will be overridden by product type attached to product if available
publishedAt
The datetime when this variant will become available. This field may contain a past, future date or can be empty (so it is always published if isPublished is true)
trackInventory
Determines whether to track changes to this variant's inventory. If set to 'false', the product's stock quantity won't reduce when a customer purchases this item. However, even when 'false', you must assign a stock quantity to a warehouse to allow checkouts. Usually, this involves allocating a placeholder stock amount that matches the maximum quantity purchased at once.
Usages
#
References
#
- Argument input of field productVariantUpdate from type Mutation