GET /api/v1/analytics/sales returns the numbers behind the workspace Orders analysis page, so you can build a sales dashboard in your own app. It requires analytics:read.
Request
Only orders in the selected currency are counted. Amounts are not converted, so call once per currency when you sell in several.
Response
Change fields such as
netSalesChangePercent are null when the previous period has no sales. Show ”—” rather than “+100%”.
Repeat-buyer counts are included, but buyers are not listed.