Ana içeriğe geç

What is on hand

GET 

/api/stock-levels

A sum of the ledger, computed on every read. There is no quantity column anywhere in this domain — the same decision money got, and for the same reason: a number that is written to loses the history of why it changed.

Zero is a real answer ("we have none"); an item that is not tracked at all is simply not in the list.

Request​

Responses​

One line per stock item.