Skip to main content
GET
Get Orders History
This endpoint provides access to comprehensive historical order data with powerful analytics capabilities. Ideal for business intelligence, performance reporting, trend analysis, and strategic planning.
This endpoint includes advanced analytics features like trend calculations, performance metrics, and comparative analysis across different time periods.

Query Parameters

string
required
The unique identifier of the store whose order history you want to retrieve
string
required
Start date for historical data retrieval (ISO 8601 format: YYYY-MM-DDTHH:mm:ssZ)
string
required
End date for historical data retrieval (ISO 8601 format: YYYY-MM-DDTHH:mm:ssZ)
string
default:"daily"
Data aggregation level: “hourly”, “daily”, “weekly”, “monthly”
boolean
default:"true"
Whether to include advanced analytics and performance metrics
boolean
default:"false"
Include comparison with the previous equivalent period
string
Filter by specific delivery platform for focused analysis
boolean
default:"false"
Include detailed item-level analytics in the response

Response

object
High-level summary for the requested time period
array
Data points broken down by the specified granularity
object
Performance breakdown by delivery platform
object
Advanced analytics and insights (when include_analytics=true)
object
Comparison with previous period (when compare_period=true)

Response Example

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

Revenue Analysis
  • Monthly/quarterly revenue trends
  • Platform performance comparison
  • Seasonal revenue patterns
Operational Optimization
  • Identify peak hours for staffing
  • Optimize kitchen capacity planning
  • Improve order completion rates
Strategic Planning
  • Market penetration analysis
  • Growth opportunity identification
  • Partnership performance evaluation
Performance Monitoring
  • KPI tracking and benchmarking
  • Efficiency improvement initiatives
  • Customer satisfaction analysis