Ticket
A Ticket represents an issued ticket, that has a TicketType. A Ticket can e.g. be used to get access to the museum.
| Property | Type | Default | Description | Example |
|---|---|---|---|---|
id* | string (UUIDv4) | Unique identifier | "bd4a0997-39db-41d9-883a-cdfa83e2101f" | |
createdAt | string | Date for when the ticket was created | "2021-03-01T12:00:00.000Z" | |
number | number | Number of the ticket | 166 | |
customerId | string (UUIDv4) | null | A reference to a Customer that owns the ticket. Only present if the ticket is associated with a customer | "bd4a0997-39db-41d9-883a-cdfa83e2101f" |
ticketType | object | Nested ticket type. This is a subset: id, name, description, onlineName, onlineDescription, translations, price. It does not include locationId or sku. | { "id": "...", "name": "Adult Ticket" } | |
qrCode | string | QR code of the ticket | "https://www.acme-museum.com/tickets?qr=KLkjndfjf..." |