List all events
How to fetch a collection of events via API
To fetch a collection of events, send a GET request to the /api/events endpoint.
Request
GET https://yourdomain.commercelayer.io/api/events
Example
The following request fetches a collection of events:
curl -g -X GET \
'https://yourdomain.commercelayer.io/api/events/' \
-H 'Accept: application/vnd.api+json' \
-H 'Authorization: Bearer your-access-token'Remember that when you fetch a list of resources you get paginated result.
Sortable fields
The list of events can be sorted by the following fields:
Attributes
nameidcreated_atupdated_atreferencereference_origin
Filterable fields
The list of events can be filtered by the following fields:
Attributes
nameidcreated_atupdated_atreferencereference_originmetadata
Last updated

