DiscoverHotelDetails
Public hotel API. Send x-nicer-company when an optional verified Cognito token does not identify one company. No trip or company-registration lookup is required. Accept selects JSON or SSE on this resource; repeat the same criteria URL after partial results. Search and details run in separate Lambdas. Hotel path identifiers are hotelReference values.
Authorization
Path parameters
Query parameters
- roomsoptionalstring
Occupancy per room, not the room count. Format adults[:childAge,childAge];nextRoom. One room for 2 adults is '2'; two rooms for 2 adults each is '2;2'; 2 adults and a child age 7 is '2:7'. Sabre multi-room rates require the same adult and child counts per room. Search mixed occupancies separately; each result then covers only its requested room.
pattern: ^[1-8](?::(?:[0-9]|1[0-7])(?:,(?:[0-9]|1[0-7]))*)?(?:;[1-8](?::(?:[0-9]|1[0-7])(?:,(?:[0-9]|1[0-7]))*)?){0,7}$ · default: "2"
Header parameters
Returns
200
JSON snapshot or SSE frames (the schema describes each frame's JSON data).
Any of the following:
- HotelDetailsResponse
- HotelRatesResponse
Type:string
string