Buy museum tickets
Purchase museum tickets for general entry or special events.
Demo Only
POST
/tickets
Authorization
AuthorizationRequiredBasic <token>
In: header
Request Body
ticketTypeRequiredstring
Type of ticket being purchased. Use general for regular museum entry and event for tickets to special events.
"event"Value in: "event" | "general"eventIdstring
Identifier for a special event.
Example:"3be6453c-03eb-4357-ae5a-984a0e574a54"Format: "uuid"ticketDateRequiredstring
Date that the ticket is valid for.
Example:"2023-10-29"Format: "date"emailRequiredstring
Email address for ticket purchaser.
Example:"museum-lover@example.com"Format: "email"phonestring
Phone number for the ticket purchaser (optional).
Example:"+1(234)-567-8910"imageFile
Format: "binary"| Status code | Description |
|---|---|
200 | Success |
400 | Bad request |
404 | Not found |
Details for a museum ticket after a successful purchase.
