Store summary
store:read or widget:read
Widget metrics
widget:read
Response:
Chart (7 days)
analytics:read
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Bearer-authenticated analytics for widgets and integrations.
Authorization: Bearer mk_live_<your_key>
GET /api/merchant/v1/stores/{storeId}
store:read or widget:read
GET /api/merchant/v1/stores/{storeId}/analytics
widget:read
Response:
{
"revenue": 0,
"revenueChange": 0,
"orders": 0,
"ordersChange": 0,
"customers": 0,
"customersChange": 0
}
GET /api/merchant/v1/stores/{storeId}/analytics/chart
analytics:read
{
"chart": [
{ "date": "2026-09-15", "revenue": 120, "orders": 3 }
]
}
| Status | Meaning |
|---|---|
| 401 | Missing, invalid, expired, or revoked token |
| 403 | Scope or shop not allowed for this key |
| 429 | Rate limit exceeded |