Skip to content

Article performance

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

Blog posts' reads and the sales their readers made over a period (the blog post list): an order counts for an article when the browser that placed it read the article in the 7 days before.

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.

  • blog_idstring

    One blog's articles only.

Headers

  • shop-api-versionYYYY-MM

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

Returns

200 Reads and reader sales by article.

Errors

  • 403forbiddenMissing permission.
  • 422validation_failedInvalid dates or range.