List Events
Lists every marketing event in the store — the data behind the admin Marketing → Communications → Events datagrid.
TIP
New here? Read the Events overview for what an event does and how its fields behave.
Operation
| Operation | Type | Purpose |
|---|---|---|
adminMarketingEvents | Query | Cursor-paginated list of all marketing events |
Details
- Requires an admin Bearer token in the
Authorizationheader. - Cursor pagination — pass
firstfor the page size andafter(theendCursorfrom the previous page) to advance.totalCountis the grand total. - Each
nodecarries the full event field set — events have no detail-only fields.
Filtering
Pass any of these arguments alongside first / after (they mirror the admin datagrid filters):
| Argument | Description |
|---|---|
name | Name — partial match |
date_from, date_to | Event-date range (YYYY-MM-DD) |
sort, order | Sort field (id, name, date) + asc / desc (default id desc) |

