Holds
Create a hold
Creates a new hold
post/v1/holds
Request
- Base URLhttps://api.tickettailor.com
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body application/x-www-form-urlencoded
Example request
{
"event_id": "ev_123",
"note": "This hold contains 5 General Admission tickets",
"ticket_type_id": {
"tt_1": 1,
"tt_2": 5
}
}Response
Successfully created a hold
Example response
{
"object": "hold",
"id": "ho_1",
"created_at": {
"date": "2020-05-01",
"formatted": "Fri 1 May 2020 10:30 PM",
"iso": "2020-05-01T22:30:00+01:00",
"time": "22:30",
"timezone": "+01:00",
"unix": 1588368600
},
"note": "This is the note about the hold",
"total_on_hold": 6,
"update_at": {
"date": "2020-05-01",
"formatted": "Fri 1 May 2020 10:30 PM",
"iso": "2020-05-01T22:30:00+01:00",
"time": "22:30",
"timezone": "+01:00",
"unix": 1588368600
},
"quantities": [
{
"ticket_type_id": "tt_1",
"quantity": 1
},
{
"ticket_type_id": "tt_2",
"quantity": 5
}
]
}Changes
No recorded changes to this operation across all 6 revisions of this API.