Exports
Bulk-export endpoints for BI pipelines, CRM sync, and analytics. Unlike the list endpoints, exports include inline related data — orders include seats and customer info, waiting-list entries include user records.
| Method | Path | Purpose |
|---|---|---|
GET | /peppered/export/clienttypes | All tag names used in this client |
POST | /peppered/export/customers | Bulk customers |
POST | /peppered/export/orders | Bulk orders with seats |
POST | /peppered/export/waitinglist | Waiting-list entries |
All export endpoints support a changedSince filter for incremental sync.
Client types
GET /v1/:client_name/peppered/export/clienttypes
Returns the full list of customer-tag names used in this client.
Response
200 OK
["friend", "donor", "vip", "press", "student", "subscriber"]
Use this to validate tag values before calling POST /customer/{id}/clienttypes.
Customers
POST /v1/:client_name/peppered/export/customers
Request body
| Field | Type | Description |
|---|---|---|
changedSince | date | Optional — only return customers changed since this date |
Response
200 OK — array of full customer records in the same shape as UserResource.
Orders
POST /v1/:client_name/peppered/export/orders
Full order export with seat-level detail, deleted seats (for auditing), and inline customer data.
Request body
| Field | Type | Description |
|---|---|---|
changedSince | date | Optional — only return orders changed since this date |
Response
200 OK — array of OrderExportResource:
[
{
"orderId": 12345,
"orderKey": "XgFca-QmBxG-9WhAj-Osszb",
"customerId": 867,
"orderStatus": "ord",
"orderPaymentStatus": "paid",
"orderChannel": "www",
"orderDate": "2026-04-22T13:08:55+02:00",
"timeOut": null,
"lastChanged": "2026-04-22T13:10:12+02:00",
"amount": 49.00,
"fee": 0.50,
"donation": 5.00,
"handlingTextPayment": "iDEAL",
"discountName": null,
"seats": [
{
"seatId": 2904,
"eventId": 95,
"rankId": 42,
"rowNr": 5,
"seatNr": 12,
"amount": 24.50,
"priceId": "2ePdA8q3BN",
"priceName": "Standard"
}
],
"deletedSeats": [],
"user": {
"customerId": 867,
"email": "visitor@example.com",
"customerFirstName": "Jane",
"customerLastName": "Doe"
}
}
]
OrderExportResource fields
Same as OrderResource, plus:
| Field | Type | Description |
|---|---|---|
orderChannel | string | www (webshop) / sp (sales point / POS) |
fee | decimal | Transaction fee |
donation | decimal | Alias for orderDonation |
seats | array | All seats on this order |
deletedSeats | array | Seats that were removed (for audit) |
user | object | Inline customer (UserResource) |
Waiting list
POST /v1/:client_name/peppered/export/waitinglist
Exports all waiting-list entries with inline customer data.
Request body
| Field | Type | Description |
|---|---|---|
changedSince | date | Optional — only return entries changed since this date |
Response
200 OK — array of WaitinglistExportResource:
[
{
"waitingId": 42,
"customerId": 867,
"eventId": 95,
"numberOfTickets": 2,
"type": "notified",
"createdAt": "2026-04-10T10:00:00+02:00",
"notifiedAt": "2026-04-20T09:30:00+02:00",
"user": {
"customerId": 867,
"email": "visitor@example.com",
"customerFirstName": "Jane",
"customerLastName": "Doe"
}
}
]
WaitinglistExportResource fields
| Field | Type | Description |
|---|---|---|
waitingId | integer | Unique waiting-list entry ID |
customerId | integer | Linked customer |
eventId | integer | Event they're waiting for |
numberOfTickets | integer | How many tickets they want |
type | string | Status (waiting, notified, converted, etc.) |
createdAt | ISO datetime | When the entry was added |
notifiedAt | ISO datetime | null | When the customer was notified (if applicable) |
user | object | Inline UserResource |
Incremental sync pattern
Same pattern as the orders list endpoint:
- Record the latest
lastChanged/createdAtfrom your last sync. - Pass as
changedSince. - Update your local store.
- Save the new high-watermark.
For very large exports, paginate by date-range rather than fetching everything in one call.
See also: Customers · Orders · Wachtlijst (Dashboard, NL)