Product Variant Inventory Policy
The valid values for the inventory policy of a product variant once it is out of stock.
Anchor to Valid valuesValid values
- Anchor to CONTINUECONTINUE
 Customers can buy this product variant after it's out of stock.
- Anchor to DENYDENY
 Customers can't buy this product variant after it's out of stock.
Anchor to FieldsFields
- •OBJECT
 The
object represents a version of a product that comes in more than one option, such as size or color. For example, if a merchant sells t-shirts with options for size and color, then a small, blue t-shirt would be one product variant and a large, blue t-shirt would be another.Use the
object to manage the full lifecycle and configuration of a product's variants. Common use cases for using theobject include:- Tracking inventory for each variant
 - Setting unique prices for each variant
 - Assigning barcodes and SKUs to connect variants to fulfillment services
 - Attaching variant-specific images and media
 - Setting delivery and tax requirements
 - Supporting product bundles, subscriptions, and selling plans
 
A
is associated with a parentProductobject.serves as the central link between a product's merchandising configuration, inventory, pricing, fulfillment, and sales channels within the GraphQL Admin API schema. Each variant can reference other GraphQL types such as:: Used for inventory trackingImage: Used for variant-specific images: Used for subscriptions and selling plans
Learn more about Shopify's product model.
- •INPUT OBJECT
 The input fields for specifying a product variant to create or update.
- •INPUT OBJECT
 The input fields for specifying a product variant to create as part of a variant bulk mutation.