Update an event

POST https://api-{region}.seatsio.net/events/{eventKey}
{
"chartKey": "newChartKey",
"eventKey": "newEventKey",
"tableBookingConfig": {
"mode": "CUSTOM",
"tables": {
"T1": "BY_TABLE",
"T2": "BY_SEAT",
"T3": "BY_TABLE"
}
},
"socialDistancingRulesetKey": "newSocialDistancingRulesetKey"
}

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

Have a look at the docs for creating an event to know how tableBookingConfig works.

socialDistancingRulesetKey is the UUID which identifies a social distancing ruleset. You can get that key by retrieving the chart for the event.

By passing in the empty string as socialDistancingRulesetKey, you remove the social distancing ruleset from the event.

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

Response

{
"id": 168,
"key": "newEventKey",
"tableBookingConfig": {
"mode": "CUSTOM",
"tables": {
"T1": "BY_TABLE",
"T2": "BY_SEAT",
"T3": "BY_TABLE"
}
},
"chartKey": "newChartKey",
"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"]
}
],
"socialDistancingRulesetKey": "newSocialDistancingRulesetKey",
"createdOn": "2017-03-05T10:58:44.715Z",
"updatedOn": "2017-04-05T10:58:44.615Z"
}