Add objects to a channel
Assign objects to a channel, without removing the already assigned objects.
- Text
- PHP
- C#
- Java
- Python
- Ruby
- Javascript
- Go
POST https://api-{region}.seatsio.net/events/{eventKey}/channels/{channelKey}/objects
$this->seatsioClient->events->channels->addObjects(
$event->key, // the event key
"channelKey1", // the channel key
["A-1", "A-2"] // the channel objects to add
);
await Client.Events.Channels.AddObjectsAsync(
event1.Key, // the event key
"channelKey1", // the channel key
new[] {"A-1", "A-2"} // the channel objects to add
);
client.events.channels.addObjects(
event.key, // the event key
"channelKey1", // the channel key
Set.of("A-1", "A-2") // the channel objects to add
);
client.events.channels.add_objects(
event.key, # the event key
'channelKey1', # the channel key
['A-1', 'A-2'] # the channel objects to add
)
client.events.channels.add_objects event_key: event.key,
channel_key: "channelKey1",
objects: ['A-1', 'A-2']
await client.events.channels.addObjects(
event.key, // the event key
'channelKey1', // the channel key
['A-1', 'A-2'] // the channel objects to add
)
err = client.Channels.AddObjects(
event.Key, // the event key
"channelKey1", // the channel key
[]string{"A-1", "A-2"}, // the channel objects to add
)
Example request body
{
"objects": ["A-1", "A-2"]
}
The request body should be a JSON object with these properties:
objects
: the full object labels of the objects that need to be assigned to this channel. Objects previously assigned to this channel will remain so.
This API call allows overriding channel assignments within a season. E.g. an object in channel X for the season can be assigned to channel Y for an event (and vice-versa).
To mark an object as not assigned to a channel in an event, but still assigned to a channel on the season, use the key of the event and NO_CHANNEL
as channel key.
All seats (or tables, booths or GA places) passed in to this API will be considered as "used seats" for pricing purposes.
The specified objects will be un-assigned from any previous channels.
That means that if seat A-1 is already assigned to channelA, and you assign A-1 to channelB using this endpoint, it will no longer be assigned to channelA and only be assigned to channelB.
General admission areas can only be added as a whole to channels, it is not possible to assign some of the capacity to a channel.
Response
204 - No Content