analytics_timeseries
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]
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. |