Skip to main content

Update a season

Rate limits

This endpoint does not belong to the priority lane. Do not use it within your ticket sales flow.

POST https://api-{region}.seatsio.net/events/{seasonKey}

Request

{
"eventKey": "newEventKey",
"name": "new event name",
"tableBookingConfig": {
"mode": "CUSTOM",
"tables": {
"T1": "BY_TABLE",
"T2": "BY_SEAT",
"T3": "BY_TABLE"
}
},
"objectCategories": {
"A-1": "category1",
"A-2": "category2"
},
"categories": [
{
'key': 'eventCategory1',
'label': 'Event Category 1',
'color': '#AAABBB'
},
{
'key': 'eventCategory2',
'label': 'Event Category 2',
'color': '#CCCDDD',
'accessible': true
}
],
"forSalePropagated": true
}

All fields are optional. If, for example, you don't specify an eventKey, the key of the season is not modified.

  • objectCategories allows you to override the categorization (as defined on the chart) of specific objects. To remove overriding categorization, pass in an empty array or null. Not passing in the objectCategories field in the request will leave the objectCategories untouched.

  • categories allows you to specify extra categories on the event level, not present on the chart. You can use these categories in the objectCategories map mentioned above. To remove all event-level categories, pass in an empty array or null.

Example request

curl https://api-{region}.seatsio.net/events/aSeason \
-u aSecretKey: -X POST -H 'Content-Type: application/json' -d '{"seasonKey": "4250fffc-e41f-c7cb-986a-2c5e728b8c28"}'

Example response

{
"id": 168,
"key": "aSeason",
"tableBookingConfig": {
"mode": "CUSTOM",
"tables": {
"T1": "BY_TABLE",
"T2": "BY_SEAT",
"T3": "BY_TABLE"
}
},
"chartKey": "4150dddc-e41f-c7cb-986a-2c5e728b8c20",
"supportsBestAvailable": true,
"forSaleConfig": {
"forSale": false,
"objects": [
"section1"
],
"categories": []
},
"channels": [
{
"name": "Channel 1",
"key": "8950dddc-e51f-c7cb-986a-2c5e728b8c21",
"color": "#aaaaaa",
"objects": [
"A-1",
"A-2"
]
}
],
"categories": [
{ "key": 1, "label": "Category 1", "color": "#aaaaaa", "accessible": true},
{ "key": 2, "label": "Category 2", "color": "#bbbbbb", "accessible": false}
],
"createdOn": "2017-03-05T10:58:44.715Z",
"updatedOn": "2017-04-05T10:58:44.615Z",
"events": [
{
"id": 170,
"key": "event1",
...
},
...
],
"partialSeasonKeys": ["partialSeason1", "partialSeason2"],
"isSeason": true,
"isTopLevelSeason": true,
"isPartialSeason": false,
"isEventInSeason": false
}