Analytics trend over time
analytics_timeseriesRetrieve zero-filled KPI trend series for revenue, profit, orders, units, AOV, and margins across day, week, or month buckets for a chosen date range.
Instructions
KPI trend series over a date range, bucketed by day, week, or month (zero-filled). Each bucket carries gross revenue, gross profit, COGS, order count, units, AOV, average margin, and margin coverage. Requires an Advanced Analytics plan. Read-only.
[#48246d]
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "analytics_timeseries"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | End date (YYYY-MM-DD). Omit to default to today (UTC). | |
| start | No | Start date (YYYY-MM-DD). Omit to default to 30 days before end. | |
| store | No | Store uuid to narrow to one store. Omit for all accessible stores. | |
| currency | No | Reporting currency (e.g. "USD"). Currencies are segmented, never summed. | |
| interval | No | Bucket granularity (default day). | |
| workspace | No | Workspace uuid to scope to (agency accounts). Omit for the Default workspace. |