Get a product's stock
unleashed_get_product_stockStock on hand for one product — totals, or broken down per warehouse with allWarehouses=true. The direct answer to 'how many do we have and where?'. Unleashed: GET /StockOnHand/{productGuid}[/AllWarehouses].
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asAtDate | No | Stock on hand as at this date (YYYY-MM-DD). | |
| productGuid | Yes | The product's Guid. | |
| allWarehouses | No | Break the stock down per warehouse. | |
| warehouseCode | No | Only this warehouse (ignored with allWarehouses). |