Skip to main content
GET
The Analytics API provides real-time insights into inventory performance, trends, and optimization opportunities.

Query Parameters

metric_type
string
required
Type of analytics to retrieve:
  • overview - General inventory metrics
  • turnover - Inventory turnover analysis
  • aging - Stock aging report
  • performance - SKU performance metrics
  • forecast_accuracy - Forecast vs actual comparison
sku
string
Filter analytics for specific SKU
location_id
string
Filter by specific location
date_from
string
Start date for analytics period (ISO 8601)
date_to
string
End date for analytics period (ISO 8601)
group_by
string
Group results by: sku, category, location, supplier
Include historical trend data. Default: false

Response

metric_type
string
Type of analytics returned
period
object
Analytics time period
metrics
object
Core metrics based on metric_type
breakdown
array
Detailed breakdown by grouping
Historical trend data (if requested)
insights
array
AI-generated insights and recommendations

Metric Types

Overview Analytics

General inventory health metrics and KPIs.

Turnover Analysis

Detailed inventory turnover rates and velocity metrics.

Aging Report

Analysis of stock age and identification of slow-moving items.

Performance Metrics

SKU-level performance including sales velocity and profitability.

Forecast Accuracy

Compare forecasted demand with actual sales to improve planning.

Exporting Analytics

Export analytics data in various formats:

Scheduling Reports

Set up automated analytics reports: