ProductVariantCreateInput Input Object
Fields
#
allowBackorders
Whether to allow backorders for this product variant, if backorders are permitted at the marketplace level
externalId
The external ID from a foreign system if a product variant originated from that system, used in combination with provided externalSource. If submitting externalId, you must also provide an externalSource argument. If these two are provided, the productVariantCreate mutation will attempt to perform an upsert instead of a creation.
externalSource
The external source identifier of a foreign system (e.g. nautical.fulfillment.shopify) if a product variant originated from that system, used in combination with provided externalId. If submitting externalSource, you must also provide an externalId argument. If these two are provided, the productVariantCreate mutation will attempt to perform an upsert instead of a creation.
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 productVariantCreate from type Mutation