OBJECT
Stock
Quantities in Stock have the following meaning
physical ordered incoming* / \ / \ / \ freeToAllocate allocated demand - linked* unlinked*
demand
is decreased bylinked
quantity when supplier module is enabled
unshipped
= all ordered items which are not in a "sent" shipment
availableNow
=freeToAllocate
-demand
available
* =availableNow
+unlinked
*
on delivery
* = number of incoming items from supplier orders, which are present in supplier deliveries
*from the Supplier Module
Caution: neither stockOffset
from ProductVariant
, nor threshold
from Warehouse
are included in the returned
freeToAllocate
. If your integration requires them for stock calculation, you can fetch these numbers and compare
to the returned stock values.
link GraphQL Schema definition
1 type Stock { 2 Int! : 3 4 # Returned FTA does not include possible warehouse threshold nor variant's stock offset 5 Int! : 6 7 Int! : 8 9 Int! : 10 11 Int! : 12 13 Int! : 14 15 # Required permission: ProductSize:read 16 ProductSize! : 17 18 # Required permission: Warehouse:read 19 Warehouse! : 20 21 Int! : 22 23 Int! : 24 25 Int! : 26 27 Int! : 28 29 Int! : 30 31 }