List store events
The store's domain events (the outbox that feeds webhooks, workflows and team alerts), newest first, with their delivery status.
Authorization
bearer_auth Authorization: Bearer <token>. Either a session access token from POST /auth/login (refresh it with POST /auth/refresh) or a store API token (mobi_st_…). A store API token works only for the store it was issued in, and can do at most what its issuing user can there, narrowed to the scopes it was issued with.
In: header
Path Parameters
Store id
uuidQuery Parameters
Only events with this name, e.g. orders.paid.
Where an event is in delivery.
"dispatched" | "pending" | "failed"Page size, 1 to 200. Defaults to 50.
int641 <= value <= 200next_cursor from the previous page. Omit for the first page.
Rows to skip, for UIs that jump to a page number. Ignored when
cursor is set. Prefer cursor for walking a whole list.
int640 <= valueAlso return total, the count of all matching rows. Costs an extra
query; leave off when you only walk pages.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/stores/497f6eca-6276-4993-bfeb-53cbbbba6f08/events?limit=50"{
"data": [
{
"attempts": 0,
"completed_subscribers": [
"string"
],
"customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
"dispatched_at": "2019-08-24T14:15:22Z",
"entity_id": "8161163a-f227-466f-bc01-090a01e80165",
"entity_type": "string",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"last_error": "string",
"name": "string",
"occurred_at": "2019-08-24T14:15:22Z",
"payload": {},
"store_id": "7fe87115-950c-4ae8-bd7e-970406bc9ac0",
"status": "dispatched"
}
],
"has_more": true,
"next_cursor": "string",
"total": 0
}{
"code": "not_found",
"details": {},
"error": "Order not found"
}{
"code": "not_found",
"details": {},
"error": "Order not found"
}{
"code": "not_found",
"details": {},
"error": "Order not found"
}{
"code": "not_found",
"details": {},
"error": "Order not found"
}