Stock Object
Represents stock.
Fields
#
outOfStockThreshold
If backorders are enabled for the marketplace and variant, this is the number of backordered items permitted before the variant is marked as out of stock. This is a negative number or zero. quantity available is not permitted to go below this number.
quantityAllocated
Int !
Non-null
Amount of variant stock at the warehouse that has been allocated to an order.
quantityAvailable
Int !
Non-null
Amount of variant stock at the warehouse that is available for purchase and is not allocated to an order. This is equal to the difference between quantity and quantity_allocated.
Interfaces
#
Also implements Node .
Usages
#
References
#
- Field stock from Query
- Field stocks from ProductVariant
- Field stock from StockEvent