Event stores
The event store object and how to fetch event stores
Fetching the event stores of a resource
Example
curl -g -X GET \
'https://yourdomain.commercelayer.io/api/skus/xYZkjABcde/event_stores' \
-H 'Accept: application/vnd.api+json' \
-H 'Authorization: Bearer your-access-token'{
"data": [
{
"id": "1234567891234-0",
"type": "event_stores",
"links": {
"self": null
},
"attributes": {
"resource_type": "skus",
"resource_id": "xYZkjABcde",
"event": "update",
"payload": {
"updated_at": {
"from": "2024-07-04T08:20:33.514Z",
"to": "2025-08-01T13:31:34.796Z"
}
},
"who": {
"application": {
"id": "kJWxyCDefg",
"client_id": "app-CL13ntID_KOwFhtKMvQIvj-KZY",
"kind": "skus",
"public": false
},
"owner": {
"id": "ZTShiJOpqr",
"type": "User",
"email": "[email protected]",
"first_name": "John",
"last_name": "Doe"
}
},
"created_at": "2025-08-01T13:31:34.000+00:00",
"updated_at": "2025-08-01T13:31:34.000+00:00",
"reference": {},
"reference_origin": {},
"metadata": {}
},
"meta": {
"mode": "test",
"trace_id": "1234a5bf723d29d58c5cdc18e06ae45f126e7212eb427905ba1e2f994f3c882e"
}
},
{
"id": "13456789123456-0",
"type": "event_stores",
"links": {
"self": null
},
"attributes": {
"resource_type": "skus",
"resource_id": "xYZkjABcde",
"event": "update",
"payload": {
"updated_at": {
"from": "2025-08-01T13:31:34.796Z",
"to": "2025-08-01T13:32:11.395Z"
},
"metadata": {
"from": {},
"to": {
"year": "2021"
}
}
},
"who": {
"application": {
"id": "kJWxyCDefg",
"client_id": "app-CL13ntID_KOwFhtKMvQIvj-KZY",
"kind": "skus",
"public": false
},
"owner": {
"id": "ZTShiJOpqr",
"type": "User",
"email": "[email protected]",
"first_name": "John",
"last_name": "Doe"
}
},
"created_at": "2025-08-01T13:32:11.000+00:00",
"updated_at": "2025-08-01T13:32:11.000+00:00",
"reference": {},
"reference_origin": {},
"metadata": {}
},
"meta": {
"mode": "test",
"trace_id": "3456k7bf723d29d58c5cdc18e06ae45f126e7212eb427905ba1e2f994f3c882e"
}
},
{
"other": "... 8 event stores (first page)"
}
],
"meta": {},
"links": {
"next": "https://yourdomain.commercelayer.io/api/skus/xYZkjABcde/event_stores?page[after]=1a123456-a95b-4212-88c9-3478697a2ad8&page[size]=10"
}
}Pagination
Last updated