Skip to content

List activity

GET/admin/v1/stores/{store_id}/activity
  • audit:read

The store's activity log, newest first: who changed what, from the admin, the API or the platform.

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

  • subject_typestring

    With subject_id: only entries about this resource.

  • subject_idstring
  • sourceenum

    Only the store's own log, or only platform-level actions.

    • store
    • platform
  • limitinteger

    1–250, default 50.

  • cursorstring

    page.next_cursor from the previous page.

Headers

  • shop-api-versionYYYY-MM

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

Returns

200 A page of entries.

Errors

  • 400bad_requestMalformed cursor.
  • 403forbiddenMissing permission.
  • 422validation_failedInvalid subject filter.