Stores

Activity log with filters

GET
/v1/stores/{storeId}/activity

Authorization

AuthorizationBearer <token>

API key from Settings → API keys

In: header

Path Parameters

storeId*string

Query Parameters

page?integer
Range1 <= value <= 9007199254740991
Default1
perPage?integer
Range1 <= value <= 200
Default25
actorType?string
Lengthlength <= 20
actorId?string
Lengthlength <= 80
action?string
Lengthlength <= 80
subjectType?string
Lengthlength <= 60
subjectId?string
Lengthlength <= 80
from?string
Lengthlength <= 40
to?string
Lengthlength <= 40
q?string
Lengthlength <= 120

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/stores/string/activity"
{  "data": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "actorType": "string",      "actorId": "string",      "actorName": "string",      "action": "string",      "verb": "string",      "subjectType": "string",      "subjectId": "string",      "requestId": "string",      "diff": {        "property1": null,        "property2": null      },      "changedKeys": [        "string"      ],      "oldValues": {        "property1": null,        "property2": null      },      "newValues": {        "property1": null,        "property2": null      },      "related": [        {          "table": "string",          "id": "string",          "op": "update",          "before": {            "property1": null,            "property2": null          },          "after": {            "property1": null,            "property2": null          }        }      ],      "subjectPath": "string",      "createdAt": "string"    }  ],  "pagination": {    "page": -9007199254740991,    "perPage": -9007199254740991,    "total": -9007199254740991  }}