ProductVariantAvailability
ObjectFields returned for product variant availability.
#
Fields
- Boolean!
availableForPurchase Indicates whether the variant is available for purchase in the current channel. If
Channel, isn’t specified, it will throw an exception.- Int!
availableQuantity Number of items of the Product Variant that are in stock.
- Boolean!
purchaseEnabled Indicates whether purchasing is currently enabled for the product and variant in the current store’s distribution channels. This does not account for publication status, active status, or inventory.
- StockPolicy!
stockPolicy The stock policy for the inventory, which determines how stock is managed.
Possible enum valuesNOT_TRACKEDInventory is not tracked, so availability is not limited by a stock count.
TRACKEDInventory is tracked, so availability depends on the recorded stock.