Products
Create a product
Create a new product
post/v1/products
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
{
"booking_fee": 100,
"currency": "gbp",
"description": "High quality print of the event poster",
"event_series_ids": [
"es_123",
"es_456"
],
"instructions": "Buy the poster at the venue",
"issue_ticket_voucher": "true",
"linked_to_all_event_series": "false",
"membership_type_id": "mt_123",
"name": "Event poster",
"price": 599,
"quantity": 50,
"quantity_per_event": 10,
"status": "on_sale",
"voucher_id": "vo_123"
}Response
Successfully created a new product
Example response
{
"object": "product",
"id": "pr_1",
"booking_fee": 100,
"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
},
"currency": "usd",
"description": "This is a product",
"event_series_ids": [
"es_123",
"es_234",
"es_345"
],
"instructions": "Buy this product at the venue",
"issued_count": 0,
"issue_ticket_voucher": "false",
"voucher_id": null,
"membership_type_id": null,
"linked_to_all_event_series": "true",
"name": "Test Product",
"price": 956,
"quantity": 10,
"sell_in_store": "false",
"status": "on_sale",
"updated_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
}
}Changes
No recorded changes to this operation across all 6 revisions of this API.