Resale
This endpoint belongs to the priority lane.
Changes the object status to resale
.
The resale status is meant to be used to enable primary and secondary ticket sales directly on the same seating chart, offering users the ability to select and purchase resold seats.
Objects in status resale
:
- are selectable on a rendered chart
- get shown with a resale icon
- do not get selected by the Best Available algorithm
Resale seats are selectable, even if they are in a channel that is not made available through the chart configuration. This is different from free seats, which not selectable when assigned to a non-available channel.
Likewise, resale seats can be booked without specifying their secret channel key in the request.
This is useful when, for instance, a channel is used to assign seats to a sponsor, and the sponsor decides to resell the seats, the seats should be selectable by the public, without removing the sponsor association from the seats.
Read more on how to use resale in this article.
- Text
- PHP
- C#
- Java
- Python
- Ruby
- Javascript
- Go
POST https://api-{region}.seatsio.net/events/{eventKey}/actions/put-up-for-resale
POST https://api-{region}.seatsio.net/events/{eventKey}/actions/put-up-for-resale?expand=objects
$seatsioClient->events->putUpForResale("event1", ["A-3", "A-5"]);
// optional listing ID parameter
$seatsioClient->events->putUpForResale("event1", ["A-3", "A-5"], "listing1");
await Client.Events.PutUpForResaleAsync("event1", new [] { "A-3", "A-5" });
// optional listing ID parameter
await Client.Events.PutUpForResaleAsync("event1", new [] { "A-3", "A-5" }, "listing1");
client.events.putUpForResale("event1", List.of("A-3", "A-5"), null);
// optional listing ID parameter
client.events.putUpForResale("event1", List.of("A-3", "A-5"), "listing1");
client.events.put_up_for_resale("event1", ["A-3", "A-5"])
# optional listing ID parameter
client.events.put_up_for_resale("event1", ["A-3", "A-5"], "listing1")
client.events.put_up_for_resale('event1', ['A-3', 'A-5'])
# optional listing ID parameter
client.events.put_up_for_resale('event1', ['A-3', 'A-5'], 'listing1')
await client.events.putUpForResale('eventKey', ['A-3', 'A-5']);
// optional listing ID parameter
await client.events.putUpForResale('eventKey', ['A-3', 'A-5'], 'listing1');
result, err := client.Events.PutUpForResale(<AN EVENT KEY>, []string{"A-1", "A-2"}, nil)
// optional listing ID parameter
result, err := client.Events.PutUpForResale(<AN EVENT KEY>, []string{"A-1", "A-2"}, "listing1")
All seats (or tables, booths or GA places) passed in to this API will be considered as "used seats" for pricing purposes.
Request
// Minimal request
{
"objects": ["A-3", "A-5"]
}
// Listing ID
{
"objects": ["A-3", "A-5"],
"resaleListingId": "listing1"
}
- objects: an array of object ids
- resaleListingId: optional string. Seats in the same listing are selected as a group.
Response
Without expand=objects 204 - No Content
With expand=objects 200 - ok
{
"objects": {
"A-3": {
"label": "A-3",
"labels": {
"own": {
"label": "3",
"type": "seat"
},
"parent": {
"label": "Row A",
"type": "row"
},
},
"ids": {
"own": "3",
"parent": "A"
},
"status": "resale",
"categoryLabel": "Ground Floor",
"categoryKey": "4",
"ticketType": "adult",
"orderId": "order1",
"forSale": true,
"objectType": "seat",
"leftNeighbour": "A-2",
"rightNeighbour": "A-4",
"entrance": "Blue",
"resaleListingId": "listing1"
},
"A-5": {
"label": "A-5",
"labels": {
"own": {
"label": "5",
"type": "seat"
},
"parent": {
"label": "Row A",
"type": "row"
},
},
"ids": {
"own": "5",
"parent": "A"
},
"status": "resale",
"categoryLabel": "Ground Floor",
"categoryKey": "4",
"ticketType": "adult",
"orderId": "order1",
"forSale": true,
"objectType": "seat",
"leftNeighbour": "A-4",
"rightNeighbour": "A-6",
"entrance": "Blue",
"resaleListingId": "listing1"
}
}
}