Skip to content

Article counts

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

Articles by status across the store's blogs, or in one, for the list's views.

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

  • blog_idstring

    Only this blog's articles.

Headers

  • shop-api-versionYYYY-MM

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

Returns

200 The counts.

Errors

  • 400bad_requestMalformed blog ID.
  • 403forbiddenMissing permission.