Offers
Search bookable offers
Returns bookable offers for the given city pair, date, and passenger count. Authenticated via the api-key header; data scoped to the caller's partner. Offer ids are 20-minute signed JWT booking tokens — use expiresAt to detect expiry before attempting to book.
https://api.prexsell.com/v2/offersAuthorizations
Query Parameters
departureCitySlugstringURL-friendly slug of the departure city.
Minimum string length:
1arrivalCitySlugstringURL-friendly slug of the arrival city.
Minimum string length:
1departureCityIdstringDatabase ID of the departure city. Use slug addressing where possible; id addressing is kept pending Moesif usage analysis.
Minimum string length:
1arrivalCityIdstringDatabase ID of the arrival city. Use slug addressing where possible; id addressing is kept pending Moesif usage analysis.
Minimum string length:
1departureDatestring<date>requiredDeparture date in ISO 8601 format (YYYY-MM-DD). Garbage values yield 400.
passengersintegerrequiredNumber of passengers (renamed from legacy passengersQty). Minimum 1.
Required range:
x >= 1
Response 200
application/jsonOffer search results.
dataobjectrequiredOffer search results.
Response 401
application/jsonStandard error response body.
errorsobject[]required