Skip to main content
objectStockLevel

Fields

warehouseId
ID!

Warehouse that holds the stock.

itemId
ID!

Item the stock belongs to.

unlockedQuantity
Decimal!

Total quantity minus locked quantity, never below 0. Open sales orders are not deducted.

totalQuantity
Decimal!

Physical stock in the warehouse, including locked stock. 0 for bills of materials and variation parents.

lockedQuantity
Decimal!

Part of the stock that is locked, for example on a locked storage location. It can exceed the total quantity.