List Event Tickets
GET /event-tickets
You can use this endpoint to retrieve a list of event tickets. Optionally, you can use the filter parameter to filter the list of event tickets.
Use the Pagination and Querying sections to learn more about how to complete this request.
Available Fields to Query
| Field Name | Type | Description |
|---|---|---|
DATE | date | The creation date of the event ticket |
EVENT_ID | string | The ID of the event |
EVENT_TICKET_TYPE_ID | string | The ID of the event ticket type |
Example: Query event tickets for a specific event
{ "fieldName": "EVENT_ID", "operator": "EQUAL", "value": "bd4a0997-39db-41d9-883a-cdfa83e2101f" }
Example: Query event tickets created after a specific date
{ "operator": "GREATER_OR_EQUAL", "fieldName": "DATE", "value": 1704067200000 }
Example: Query event tickets for a specific event and ticket type
{ "operator": "AND", "conditions": [ { "fieldName": "EVENT_ID", "operator": "EQUAL", "value": "bd4a0997-39db-41d9-883a-cdfa83e2101f" }, { "fieldName": "EVENT_TICKET_TYPE_ID", "operator": "EQUAL", "value": "c6062aa8-40eb-52e0-9af2-e5e193e3102g" } ] }
Example Response
{ "total": 50, "list": [ { "id": "bd4a0997-39db-41d9-883a-cdfa83e2101f", "createdAt": "2024-01-15T10:30:00.000Z", "number": 1234, "eventId": "c6062aa8-40eb-52e0-9af2-e5e193e3102g", "customerId": "d7173bb9-51fc-63f1-0bg3-f6f204f4213h", "eventTicketType": { "id": "e8284cc0-62gd-74g2-1ch4-g7g315g5324i", "name": "General Admission", "description": "Standard entry ticket", "translations": [], "price": 2500 }, "qrCode": "https://www.example.com/tickets?qr=..." } ] }