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 | TicketType | The TicketType object for the ticket | { id: "... } | |
qrCode | string | QR code of the ticket | "https://www.acme-museum.com/tickets?qr=KLkjndfjf..." |