Stock
Represents stock.
type Stock implements Node {
warehouse: Warehouse!
productVariant: ProductVariant!
quantity: Int!
outOfStockThreshold: Int
quantityAllocated: Int!
id: ID!
quantityAvailable: Int!
}
Fields
Stock.warehouse ● Warehouse! non-null object
Stock.productVariant ● ProductVariant! non-null object
Stock.quantity ● Int! non-null scalar
Total amount of variant stock located at the warehouse.
Stock.outOfStockThreshold ● Int scalar
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.
Stock.quantityAllocated ● Int! non-null scalar
Amount of variant stock at the warehouse that has been allocated to an order.
Stock.id ● ID! non-null scalar
The ID of the object
Stock.quantityAvailable ● Int! non-null scalar
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
Node interface
An object with an ID
Returned By
stock query
Member Of
ProductVariant object ● StockCountableEdge object ● StockEvent object