Skip to main content

Edit for sale config for multiple events

Rate limits

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

Incrementally make additional places for sale or not for sale, without touching other places, across events.

POST https://api-{region}.seatsio.net/events/actions/edit-for-sale-config

Request

{
"events": {
"event34": {
"forSale": [{ "object": "A-6" }, { "object": "A-7" }],
"notForSale": { "object": "GA1", "quantity": 5 },
},
"event35": {
...
}
}
}
  • events: object that maps event keys to for sale / not for sale configurations to be applied to those events.
    • forSale array of objects or area places to be marked as for sale.
    • notForSale array of objects or area places to be marked as not for sale.

Example request

curl https://api-{region}.seatsio.net/events/actions/edit-for-sale-config \
-u aSecretKey: -X POST -H 'Content-Type: application/json' -d '{ "events": { "event34": {"forSale": [{"object": "A-1"}, {"object": "A-2"}}}}'

Response

{
"event34": {
"forSaleConfig": {
"forSale": false,
"objects": ["A-1"],
"categories": [],
"areaPlaces": {}
},
"rateLimitInfo": {
"rateLimitRemainingCalls": 9,
"rateLimitResetDate": "2021-10-01T23:00:00Z"
}
},
"event35": {
...
}
}
Warning

There's a rate limit of 10 calls per day per event. If that rate limit if reached, a 429 (Too Many Requests) is returned. The Retry-After header indicates how many seconds you have to wait before trying again.