Skip to main content

Build Forecast

POST 

/api/inventory-forecasting/build

Build a forecast for one or more suppliers. Returns forecast results per supplier including recommended order quantities.

Authentication: Requires Bearer token.

Forecast types: sales_history, target_stock_level, fill_backorders.

Product filters and sales filters accept a filter_groups tree structure (GroupedFilterSupport) with optional legacy filters.filterSet format for backward compatibility.

Filter operators available: is, is_not, contains, does_not_contain, starts_with, ends_with, is_empty, is_not_empty, is_one_of, greater_than, less_than, between.

Returns 422 if too many products are found for any supplier.

Request

Responses

Successful response