Overview
Demand history import stores weekly actual and forecast values used by planning workflows. Records are grouped by SKU, location, week start, and channel.Quick Start
- Build
records[]with weekly demand rows. - POST to
/api/import/demand-history. - Poll
/api/import/status/[jobId].
Field Reference
Validation Rules
records[]must be present and non-empty.- Each row must include
skuId,locationId, andweekStarting. - Existing forecast rows are updated for matching model key (
weekStarting+channel).