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