Skip to main content

Get the stock of one item

GET 

/inventory/stock/:item_type/:item_id

The on-hand quantity of one item at the outlet in X-Outlet-ID, in the item's own unit. item_type is product (item_id is a variant id) or raw_material (item_id is a raw material id; needs the raw material plan feature). An item with no stock movement at the outlet answers 0. An item of another merchant answers 404 NOT_FOUND. This is the one place to read stock.

Request​

Responses​

The item's stock