Restock forecast
get_restock_forecastStock against demand over the next 30 days, from the last 30 complete days of sales (a run rate, nothing cleverer): per product its units sold (unitsLast30, unitsPrior30), units on hand, days of cover, the forecast for the next 30 days, shortfall30 (units the stock cannot cover), revenueAtRisk and marginAtRisk (that shortfall at the price it actually sold at), and restockQuiet when Nuira deliberately does not ask for a restock (inactive, gift_card, add_on, tagged, burst, one_off, discontinued, dont_restock — say why rather than recommending one). totals sum the whole catalogue; byType splits sold vs on hand by product type; rows are the products most at risk first (totalRows counts them all). Use for 'what should I restock', 'how much revenue is at risk from stockouts', 'how much will I sell next month'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||