Stock levels
stock_levelHow many units of a product you have on hand right now — search by product name, SKU or exact barcode. An item marked "Service — no stock" comes back with isService:true and onHand:null — it holds no stock, so never report a quantity for it. onHand is the company total. On a company that keeps stock at more than one place, product.locations lists each location ({location, isDefault, onHand}); a location with none of it reads 0, and the list is omitted entirely on single-location books. The locations need not add up to onHand. LESS than onHand: the difference is on record at no location (stock booked before locations were set up). MORE than onHand: a sale took more than the location it was made from held, so the extra came off the total but no shelf; onHand is the figure the books value. Say which, rather than picking one. If this company uses Counter (the till), the figure is as at the last day-close: counter sales move stock once, when the day is closed, not at each scan.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes |