Change event series status
POSThttps://api.tickettailor.com/v1/event_series/:event_series_id/status
For the given event series ID, change its status
Request
Path Parameters
The unique identifier for the event series
- application/x-www-form-urlencoded
Bodyrequired
New event series status
Possible values: [DRAFT
, PUBLISHED
, CLOSE_SALES
]
Responses
- 200
- default
Successfully updated the event series status
- application/json
- Schema
- Example (auto)
Schema
A unique identifier for the event series
Code to access a protected event series
bundles object[]nullable
Call to action text used on the event series page
created_at
Information about the currency the event series is configured to use
Possible values: [gbp
, usd
, eur
, sgd
, aud
, brl
, cad
, czk
, dkk
, hkd
, huf
, ils
, jpy
, myr
, mxn
, nok
, nzd
, php
, pln
, rub
, sek
, chf
, twd
, thb
, try
]
Maximum quantity of tickets that can be sold across all ticket types
default_ticket_groups undefined[]
default_ticket_types object[]nullable
Description of the event series
images
Name of the event series
next_occurrence_date
Returns whether or not the event is online
Possible values: [true
, false
]
payment_methods undefined[]
Returns whether or not the event is private
Possible values: [true
, false
]
Total revenue of the event series
Possible values: >= 0
Returns whether or not the map should be shown on the event series page. It depends if venue location is set and if the event is not online and hide map is not set in the event series.
Possible values: [true
, false
]
The label for the sales tax
The percentage of the sales tax
The treatment of the sales tax
Possible values: [inclusive
, exclusive
]
Status of the event
Possible values: [draft
, published
, sales_closed
]
TZ format timezone string
Total number of time the event series occurs
Total number of issued tickets
Fixed amount of the transaction fee
Percentage of the transaction fee
The number of upcoming occurrences of the event series
Event series URL
tickets_available_at
Message to show when tickets are not yet available to purchase. {countdown} is replaced with time remaining until tickets become available
tickets_unavailable_at
Message to show when tickets are unavailable to purchase
venue
List of voucher IDs
Indicates whether waitlist is enabled for the event series
Possible values: [true
, no_tickets_available
, false
]
The text displayed on event action buttons and as a title above the waitlist format
Description above ticket waitlist form
Text shown to the user after they have signed up to the waitlist
{
"object": "event_series",
"id": "es_1",
"access_code": null,
"call_to_action": "Buy tickets / Join the guestlist",
"currency": "gbp",
"default_max_tickets_sold_per_occurrence": null,
"default_ticket_groups": [
{
"id": "tg_21099",
"max_per_order": null,
"name": "April 20th",
"sort_order": 50050,
"ticket_ids": [
"tt_230625",
"tt_230626"
]
},
{
"id": "tg_21100",
"max_per_order": null,
"name": "April 21st",
"sort_order": 50100,
"ticket_ids": [
"tt_230631",
"tt_230632"
]
}
],
"default_ticket_types": [
{
"object": "ticket_type",
"id": "tt_230625",
"access_code": null,
"booking_fee": 0,
"description": null,
"group_id": "tg_21099",
"max_per_order": 100,
"min_per_order": 1,
"name": "4.20 Adult (13-61) - Presale",
"price": 800,
"status": "hidden",
"sort_order": 50050,
"type": "paid",
"quantity": 10000,
"quantity_held": 0,
"quantity_issued": 5000,
"quantity_total": 15000
},
{
"object": "ticket_type",
"id": "tt_230626",
"access_code": null,
"booking_fee": 0,
"description": null,
"group_id": "tg_21099",
"max_per_order": 100,
"min_per_order": 1,
"name": "4.20 Senior (62+) - Presale",
"price": 600,
"status": "on_sale",
"sort_order": 50051,
"type": "paid",
"quantity": 10000,
"quantity_held": 0,
"quantity_issued": 2000,
"quantity_total": 12000
},
{
"object": "ticket_type",
"id": "tt_230631",
"access_code": null,
"booking_fee": 0,
"description": null,
"group_id": "tg_21100",
"max_per_order": 100,
"min_per_order": 1,
"name": "4.21 Adult (13-61) - Presale",
"price": 800,
"status": "on_sale",
"sort_order": 50100,
"type": "paid",
"quantity": 10000,
"quantity_held": 0,
"quantity_issued": 4000,
"quantity_total": 14000
},
{
"object": "ticket_type",
"id": "tt_230632",
"access_code": null,
"booking_fee": 0,
"description": null,
"group_id": "tg_21100",
"max_per_order": 100,
"min_per_order": 1,
"name": "4.21 Senior (62+) - Presale",
"price": 600,
"status": "on_sale",
"sort_order": 50101,
"type": "paid",
"quantity": 10000,
"quantity_held": 0,
"quantity_issued": 1000,
"quantity_total": 11000
}
],
"description": null,
"images": {
"header": "https://d37ecpm5it19bz.cloudfront.net/c_crop,dpr_1.0,h_1921,q_100,w_1922,x_479,y_0/c_scale,g_center,h_326,q_85,w_1024/v1/stitching/userfiles/acfi9eknr1vur6wguu5s.jpg",
"thumbnail": "https://d37ecpm5it19bz.cloudfront.net/c_crop,dpr_1.0,h_1921,q_100,w_1922,x_479,y_0/c_scale,h_108,q_85,w_108/v1/stitching/userfiles/acfi9eknr1vur6wguu5s.jpg"
},
"name": "Hackney Downs 2020 Tulip Festival",
"next_occurrence_date": {
"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
},
"online_event": "false",
"payment_methods": [
{
"external_id": null,
"id": "pm_6687",
"instructions": "Pay when you arrive to festival",
"name": "Pay on the door",
"type": "offline"
},
{
"external_id": "seller222@example.com",
"id": "pm_6691",
"instructions": null,
"name": null,
"type": "paypal"
}
],
"private": "false",
"revenue": 165,
"sales_tax_label": "VAT",
"sales_tax_percentage": 20,
"sales_tax_treatment": "exclusive",
"show_map": "true",
"status": "published",
"timezone": "Europe/London",
"total_occurrences": 20,
"total_issued_tickets": 5,
"transaction_fee_fixed_amount": null,
"transaction_fee_percentage": 10,
"tickets_available_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
},
"tickets_available_at_message": "Tickets are available in {countdown}",
"tickets_unavailable_at": {
"date": "2020-05-02",
"formatted": "Sat 2 May 2020 10:30 PM",
"iso": "2020-05-02T22:30:00+01:00",
"time": "22:30",
"timezone": "+01:00",
"unix": 1588455000
},
"tickets_unavailable_at_message": "Tickets are no longer available",
"upcoming_occurrences": 5,
"url": "https://www.tickettailor.com/events/flowerfestival/40980",
"venue": {
"country": "GB",
"name": "Flower festival gardens",
"postal_code": "SW1 3BR"
},
"voucher_ids": [
"vo_123",
"vo_345",
"vo_567"
],
"waitlist_active": "true",
"waitlist_call_to_action": "Join waiting list",
"waitlist_event_page_text": "Join our waiting list to be notified when tickets become available.",
"waitlist_confirmation_message": "Done! You are on the waiting list."
}
Error schema
- application/json
- Schema
- Example (auto)
Schema
Http status code
Readable error code
Detailed error message
errors object[]
{
"status": 0,
"error_code": "string",
"message": "string",
"errors": [
{
"field": "string",
"messages": [
"string"
]
}
]
}
Authorization: http
name: BasicAuthtype: httpdescription: Use base64 encoded api key created in Ticket Tailor dashboard. scheme: basic
- curl
- php
- ruby
- python
- nodejs
- go
- CURL
curl -L -X POST 'https://api.tickettailor.com/v1/event_series/:event_series_id/status' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-H 'Accept: application/json' \
-H 'Authorization: Basic PHVzZXJuYW1lPjo8cGFzc3dvcmQ+'