Get realtime price
Some offers have dynamic prices. In order to get the correct price before calling the POST /v1/booking/reservations/_bulk endpoint, you can call the GET /v1/ticketing/catalogs/{catalogId}/offers/{id}/price endpoint and check the amountInclTax
and amountExclTax
field in the response.
Request
curl --request GET \
--url https://api.korusticket.com/v1/ticketing/catalogs/0194abdc-3a71-72b0-a9b9-89d4be0cd73e/offers/0194ac3f-7bdd-7175-a275-30c865618283/price \
--header 'accept: application/ld+json' \
--header 'Authorization: Bearer {{YOUR_JWT_TOKEN}}'
Response
{
"@context": "/contexts/TicketingOffer",
"@id": "/v1/ticketing/catalogs/0194abdc-3a71-72b0-a9b9-89d4be0cd73e/offers/0194ac3f-7bdd-7175-a275-30c865618283/price",
"@type": "TicketingOffer",
"amountInclTax": "100.00",
"amountExclTax": "80.00",
"currency": "EUR"
}