Skip to main content
GET
Dashboard Summary
Aggregated KPIs for the requested date range — gross sale, orders, customers, returning rate, conversion rate, top products by unit sold. Backs the merchant admin dashboard. Required scope: read_analytics

Query Parameters

string
default:"last_7_days"
Preset range: today, yesterday, this_week, last_7_days (alias 7d), last_30_days (30d), last_90_days (90d), last_week, this_month, last_month, lifetime (1d = today). Rolling windows end today and include it (last_7_days = today and the 6 days before). Any other value is a 422. Do not combine with start/end.
string
Custom range start: ISO 8601 date (YYYY-MM-DD) or timestamp. Pass together with end.
string
Custom range end: ISO 8601 date or timestamp. A date-only end includes that whole day. Must be after start; an invalid or unpaired value is a 422 ({ "errors": { "base": ["…"] } }).
Money is in the store’s base currency (data.currency); orders placed in another currency are converted back to it. Day-keyed maps use ISO YYYY-MM-DD keys in ascending order. conversionRate is orders ÷ storefront sessions in the window, as a percentage (two decimals). Unit counts are quantities sold, not order lines.

Response

number
HTTP status code.
string
success or error.
object