Ticket

A Ticket represents an issued ticket, that has a TicketType. A Ticket can e.g. be used to get access to the museum.

PropertyTypeDefaultDescriptionExample
id*string (UUIDv4)Unique identifier"bd4a0997-39db-41d9-883a-cdfa83e2101f"
createdAtstringDate for when the ticket was created"2021-03-01T12:00:00.000Z"
numbernumberNumber of the ticket166
customerIdstring (UUIDv4)nullA reference to a Customer that owns the ticket. Only present if the ticket is associated with a customer"bd4a0997-39db-41d9-883a-cdfa83e2101f"
ticketTypeTicketTypeThe TicketType object for the ticket{ id: "... }
qrCodestringQR code of the ticket"https://www.acme-museum.com/tickets?qr=KLkjndfjf..."
Previous
Ticket Type
Next
Location