This endpoint includes advanced analytics features like trend calculations, performance metrics, and comparative analysis across different time periods.
Query Parameters
The unique identifier of the store whose order history you want to retrieve
Start date for historical data retrieval (ISO 8601 format: YYYY-MM-DDTHH:mm:ssZ)
End date for historical data retrieval (ISO 8601 format: YYYY-MM-DDTHH:mm:ssZ)
Data aggregation level: “hourly”, “daily”, “weekly”, “monthly”
Whether to include advanced analytics and performance metrics
Include comparison with the previous equivalent period
Filter by specific delivery platform for focused analysis
Include detailed item-level analytics in the response
Response
High-level summary for the requested time period
Data points broken down by the specified granularity
Performance breakdown by delivery platform
Advanced analytics and insights (when include_analytics=true)
Comparison with previous period (when compare_period=true)
Response Example
Granularity Examples
Granularity Examples
Hourly Analysis (for operational optimization)Weekly Trends (for strategic planning)Monthly Performance Review
Business Intelligence: Use the analytics data to identify growth opportunities, optimize operations, and make data-driven decisions about staffing, inventory, and marketing.
Data Freshness: Historical data is updated in near real-time. For the most current hour’s data, allow 15-30 minutes for complete processing.
Large Datasets: When requesting large date ranges with hourly granularity, responses may be substantial. Consider using daily or weekly granularity for broad analysis.
Use Cases
Business Intelligence Applications
Business Intelligence Applications
Revenue Analysis
- Monthly/quarterly revenue trends
- Platform performance comparison
- Seasonal revenue patterns
- Identify peak hours for staffing
- Optimize kitchen capacity planning
- Improve order completion rates
- Market penetration analysis
- Growth opportunity identification
- Partnership performance evaluation
- KPI tracking and benchmarking
- Efficiency improvement initiatives
- Customer satisfaction analysis