ShopEazydevelopers
API referenceMerchant API BetaReports

Sales, orders, visitors and the average order

Beta
Credentials
  • OAuth access token
Scopes
store:read
Role
Owners and admins only. Staff get 403 forbidden.
GET
/v1/merchant/stores/{storeId}/reports/summary

Over the window, against the same length of time before it. Money is minor units. Only money that came in counts.

Plan: every plan, as on the console Overview (these are its headline numbers). The other reports (top-sellers, traffic, sales) need Analytics Plus (included with Growth and Scale), else 403 plan_limit.

Access: OAuth scope store:read; owner or admin; not write-gated.

Authorization

merchantOAuth store:read
headerAuthorizationBearer <token>

OAuth 2.1 (authorization code + PKCE S256, public clients, dynamic registration) for connected AI apps. Effective power is scopes granted AND the person's role today AND the plan. orders:refund, billing:write and team:write are opt-in on the consent screen. Write implies read for marketing:read and messages:read, so a grant holding marketing:write passes a marketing:read check, and messages:send passes messages:read.

Scope: store:read

Path Parameters

storeId*string

A store the person can reach. Any other id answers 404, never 403.

Query Parameters

days?integer

How many days back, up to now.

Range1 <= value <= 730
Default30

Response Body

OK

application/json
  1. response
data*
Example Request
curl -X GET 'https://api.shopeazy.co/v1/merchant/stores/<storeId>/reports/summary' \  -H 'Authorization: Bearer <access_token>'
Example Response
{  "data": {    "days": 30,    "currency": "ZAR",    "sales": {      "value": 0,      "previous": 0,      "changePct": null    },    "orders": {      "value": 0,      "previous": 0,      "changePct": null    },    "visitors": {      "value": 0,      "previous": 0,      "changePct": null    },    "averageOrder": {      "value": 0,      "previous": 0,      "changePct": null    },    "daily": [      {        "day": "2026-09-25",        "revenueMinor": 0,        "orders": 0,        "visitors": 0,        "productViews": 0,        "addToCart": 0,        "checkoutStarts": 0      },      {        "day": "2026-09-26",        "revenueMinor": 0,        "orders": 0,        "visitors": 0,        "productViews": 0,        "addToCart": 0,        "checkoutStarts": 0      },      {        "day": "2026-09-27",        "revenueMinor": 0,        "orders": 0,        "visitors": 0,        "productViews": 0,        "addToCart": 0,        "checkoutStarts": 0      }    ]  }}