Skip to main content

Replace for sale config

Rate limits

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

Completely replace the for sale config for an event.

The passed in objects, area places or categories will be the only objects that are for sale or not for sale after this operation.

POST https://api-{region}.seatsio.net/events/{eventKey}/actions/mark-as-for-sale
POST https://api-{region}.seatsio.net/events/{eventKey}/actions/mark-as-not-for-sale

Request

{
"objects": ["A-1", "A-2"],
"areaPlaces": {"GA1": 3},
"categories": ["category1", "category2"]
}
  • objects: optional array of strings. Can contain table labels, booth labels, area labels or seat labels.
  • areaPlaces: optional object, which indicates how many places per general admission area should be not for sale. An area can also be passed into objects. In that case, it's made completely not for sale.
  • categories: optional array of strings. Can contain category keys or labels.

Example request

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

curl https://api-{region}.seatsio.net/events/event34/actions/mark-as-not-for-sale \
-u aSecretKey: -X POST -H 'Content-Type: application/json' -d '{"objects": ["A-1", "A-2"]}'

Response

{
"rateLimitRemainingCalls": 9,
"rateLimitResetDate": "2021-10-01T23:00:00Z"
}
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.