Skip to main content

Mark objects as not for sale

This API call marks the passed in objects, area places and categories as not for sale, while marking all other objects 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.

Objects that satisfy objects, areaPlaces or categories will become unselectable. All other objects are selectable, unless their status is not equal to 'free'.

Examples

To mark seats A-1 and A-2 as not for sale:

{
"objects": ["A-1", "A-2"]
}

To mark 10 places in GA1 as not for sale:

{
"areaPlaces": {"GA1": 10}
}

To mark all objects in category 'category1' as not for sale:

{
"categories": ["category1"]
}

Example request

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.