Retrieves prices and stock availability for multiple event sessions
POST/api/v1/eventim/catalog/eventSessions/pricesAndStocks
Fetches price and stock availability information for multiple event sessions. Filter by event ID and specific session IDs. Optionally filter by block or floor. Returns detailed pricing and stock data for each requested event session.
Examples
Success (200)
\{
"eventSessionsPricesAndStocks": [
\{
"eventId": 1158,
"eventSessionId": 1161,
"prices": [
\{
"rateId": 2045,
"categoryId": 101,
"amount": 38.00,
"fees": 3.00,
"feesDetails": [
\{ "colId": 2, "amount": 2.00 \},
\{ "colId": 3, "amount": 1.00 \}
],
"version": 1,
"priority": 1
\},
\{
"rateId": 2046,
"categoryId": 102,
"amount": 55.00,
"fees": 3.00,
"feesDetails": [
\{ "colId": 2, "amount": 2.00 \},
\{ "colId": 3, "amount": 1.00 \}
],
"version": 1,
"priority": 2
\}
],
"stocks": [
\{
"categoryId": 101,
"contingentId": 3045,
"blockId": 78821,
"floorId": 78790,
"stock": 125
\},
\{
"categoryId": 102,
"contingentId": 3045,
"blockId": 78821,
"floorId": 78790,
"stock": 80
\}
]
\}
]
\}
Error 400 - Missing x-tenant header
\{
"type": "https://tools.ietf.org/html/rfc9110#section-15.5.1",
"title": "Bad Request",
"status": 400,
"detail": "Tenant header 'x-tenant' is required"
\}
Error 422 - Validation failed
\{
"type": "https://tools.ietf.org/html/rfc9110#section-15.5.21",
"title": "Validation Failed",
"status": 422,
"detail": "The request contains 1 validation error(s)",
"errors": [
\{ "field": "eventSessionIds[0]", "message": "EventSessionsId must contain only positive values" \}
],
"errorCount": 1
\}
Error 403 - Forbidden
\{
"type": "https://tools.ietf.org/html/rfc9110#section-15.5.4",
"title": "Forbidden",
"status": 403,
"detail": "Access to this catalog is not allowed"
\}
Error 500 - Server error
\{
"type": "https://tools.ietf.org/html/rfc9110#section-15.6.1",
"title": "Internal Server Error",
"status": 500,
"detail": "An unexpected error occurred",
"traceId": "00-a1b2c3d4e5f6-789012345678-00"
\}
Request
Responses
- 200
- 400
- 403
- 422
- 500
OK
Bad Request
Forbidden
Unprocessable Content
Internal Server Error