Event Ticket
An EventTicket represents an issued ticket for an event. It references an EventTicketType and can be used to gain access to the event.
| Property | Type | Default | Description | Example |
|---|---|---|---|---|
id* | string (UUIDv4) | Unique identifier | "bd4a0997-39db-41d9-883a-cdfa83e2101f" | |
createdAt | string | Date for when the event ticket was created | "2024-01-15T10:30:00.000Z" | |
number | number | Number of the event ticket | 1234 | |
eventId | string (UUIDv4) | Reference to the Event | "bd4a0997-39db-41d9-883a-cdfa83e2101f" | |
customerId | string (UUIDv4) | null | A reference to a Customer that owns the event ticket. Only present if the event ticket is associated with a customer | "bd4a0997-39db-41d9-883a-cdfa83e2101f" |
eventTicketType | EventTicketType | The EventTicketType object for the event ticket | { id: "...", name: "General Admission" } | |
qrCode | string | QR code URL of the event ticket | "https://www.acme-museum.com/tickets?qr=KLkjndfjf..." |
EventTicketType (nested)
The EventTicketType nested in an EventTicket contains the following properties:
| Property | Type | Default | Description | Example |
|---|---|---|---|---|
id* | string (UUIDv4) | Unique identifier | "bd4a0997-39db-41d9-883a-cdfa83e2101f" | |
name* | string | Name of the event ticket type | "General Admission" | |
description | string | null | Description of the event ticket type | "Standard entry ticket" |
translations | array | [] | A list of translation objects for the event ticket type | [{ language: "da", name: "Standard billet" }] |
price | number | null | Price of ticket in lowest unit. Cents for EUR, USD etc. 0 = FREE | 2500 |