Skip to content

Analytics overview

GET/admin/v1/stores/{store_id}/analytics/overview
  • analytics:read

The Analytics home for a period of store-local days, compared with the period before: headline figures, sales over time, the conversion funnel, best sellers, channels and countries.

Path parameters

  • store_idstringrequired

    The store's ID, like store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.

Query parameters

  • fromstringrequired

    First store-local day, YYYY-MM-DD.

  • tostringrequired

    Last store-local day (included), YYYY-MM-DD. At most 366 days from from.

Headers

  • shop-api-versionYYYY-MM

    The version to answer in. Without it, your app’s pinned version, else the newest.

Returns

200 The overview.

Errors

  • 403forbiddenMissing permission.
  • 404not_foundNo such store.
  • 422validation_failedInvalid dates or range.