Update extra data for an object
Rate limits
This endpoint belongs to the priority lane.
Updates the extra data for an object in an event, without changing the object status.
- Text
- PHP
- C#
- Java
- Python
- Ruby
- Javascript
- Go
POST https://api-{region}.seatsio.net/events/{eventKey}/objects/{objectLabel}/actions/update-extra-data
$seatsioClient->events->updateExtraData("event34", "A-1", ["userId" => "123"]);
var extraData = new Dictionary<string, object> {{ "userId", "123" }};
await Client.Events.UpdateExtraDataAsync("event34", "A-1", extraData);
Map<?, ?> extraData = new HashMap<>();
extraData.put("userId", "123");
client.events.updateExtraData("event34", "A-1", extraData);
extra_data = {"userId": "123"}
client.events.update_extra_data("event34", "A-1", extra_data)
extra_data = {"userId": "123"}
client.events.update_extra_data key: "event34", object: "A-1", extra_data: extra_data
let extraData = {'userId': '123'};
await client.events.updateExtraData('eventKey', 'A-1', extraData);
err = client.Events.UpdateExtraData(event.Key, map[string]events.ExtraData{"A-1": {"userId": "123"}})
Tip
Keep in mind that certain characters need to be URI encoded!
{
"extraData": {
"userId": "123"
}
}
extraData must be a valid JSON object.
Example request
curl https://api-{region}.seatsio.net/events/event34/objects/A-1/actions/update-extra-data \
-u aSecretKey: -X POST -H 'Content-Type: application/json' -d '{"extraData": {"userId": "123"}}'
Response
204 - No Content