Skip to Content
StarsellDocs
API referenceEvents

List events

GET
/stores/{storeId}/events

Events in order. Poll with after set to next_after. An event younger than 2 seconds, or than a write still in progress, waits for the next poll.

Authorization

storeKey
headerAuthorizationBearer <vtk_...>

A store API and MCP key

Path Parameters

storeId*string

The store id

Query Parameters

after?integer

Only events after this id

Range0 <= value
type?string

One type or several, comma separated

limit?integer
Range1 <= value <= 100
Default50

Response Body

OK

application/json
  1. response
data*array<>
pagination*
Example Request
curl -X GET 'https://starsell.app/api/v1/stores/string/events'
Example Response
{  "data": [    {      "id": "string",      "type": "order.created",      "subject_type": "string",      "subject_id": "string",      "created_at": "2019-08-24T14:15:22Z",      "data": {}    }  ],  "pagination": {    "limit": 0,    "next_after": "string",    "has_more": true  }}