Select seats
POST/baskets/:id/products/:productId/ticketing/select-seats
Select seats (both automatic and manual selection mode) for the given ticketed event.
Request
Path Parameters
The id of the basket
The product id of the ticketed event that tickets are being purchased for.
Header Parameters
The API key for the given store
- application/json
Body
required
Select seats automatically by setting rates, or manually by setting seats
- Array [
- ]
- Array [
- ]
rates object[]
Populate this field to try and find seats automatically based on the criteria.
The id of the rate to find seats for.
The number of seats to attempt to add to the basket
seats object[]
Populate this field to add specific seats to the basket.
The rate at which the seat will be purchased at.
The id of the seat to add to the basket. This is the provider's own id.
Responses
- 202
- 400
This is an asynchronous operation. Upon completion, the basket must be refetched.
- application/json
- Schema
- Example (from schema)
Schema
The id of a notification that represents this asynchronous request. OneBasket will be processing the request in the background, and upon completion this notification will be updated with the result.
{
"notificationId": "string"
}
This is an asynchronous operation. Upon completion, the basket must be refetched.
- application/json
- Schema
- Example (from schema)
Schema
The type of the problem. See the documentation for each problem type to see what other properties (extensions) will be present on the problem details for that type.
The title of the problem
Further details on the problem that occurred
The http status code for the problem if it is the result of a HTTP request. If the result of an asynchronous operation, this will not be present.
{
"type": "string",
"title": "string",
"detail": "string",
"status": 0
}