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
- 200
- 400
- 401
- 403
- 404
The item's stock
Error envelope
Error envelope
Error envelope
Error envelope