The Inventory Planning API uses machine learning to forecast demand and optimize stock levels across your inventory.
Request Body
Type of planning to generate. Options:
demand_forecast
- Predict future demandreorder_optimization
- Calculate optimal reorder pointsseasonal_planning
- Plan for seasonal variationsabc_analysis
- Categorize inventory by value/velocity
Specific SKU to plan for. If omitted, plans all inventory items.
Location ID for location-specific planning
Planning time horizon
Planning-specific parameters
Response
Unique identifier for this planning run
Type of planning performed
ISO 8601 timestamp of when the plan was generated
Array of planning results per inventory item
Overall planning summary
Planning Types
Demand Forecast
Predicts future demand using historical sales data and machine learning algorithms.Reorder Optimization
Calculates optimal reorder points and quantities based on demand patterns and costs.Seasonal Planning
Plans inventory levels for seasonal demand variations.ABC Analysis
Categorizes inventory based on value and velocity for prioritized management.Error Handling
Planning operations may fail if:
- Insufficient historical data (less than 30 days)
- Invalid parameters or constraints
- SKU not found
- Location not authorized
Webhooks
Subscribe to planning events to automate your inventory workflows:inventory.planning.completed
- Planning run completedinventory.reorder.required
- Item below reorder pointinventory.stockout.predicted
- Stockout risk detected
Related Endpoints
- Create Inventory Item - Add items to inventory
- Adjust Inventory - Make stock adjustments
- Transfer Inventory - Move stock between locations
- Get Inventory Analytics - View inventory metrics