v1

latestOpenAPI 3.0.12026-07-2626261190.5 KB
Hotel

post/api/hotel/availability

Headers

accountIdstring required

A custom header for all requests

apiKeystring required

apiKey

Request body

channelIdstring required

A unique identifier that is generated during setup. It is used to identify the source of the request and apply the appropriate business configurations.

currencystring required

Used to define the currency in which the rates should be returned. If not specified, the default currency configured on the channel will be used.

culturestring nullable
checkInstring date-time required

Check-in date.

checkOutstring date-time required

Check-out date.

hotelIdsstring[] nullable

Unica hotelIds

nationalitystring nullable

Used to identify the primary guest's nationality. This information might be used to fetch nationality-based rates from the provider/hotels. Format: 2-character ISO country code.

countryOfResidencestring nullable

Used to identify the primary guest's nationality. This information might be used to fetch nationality-based rates from the provider/hotels. Format: 2-character ISO country code.

destinationCountryCodestring nullable

Country code of the destination. Format: 2-character ISO country code.

travelPurpose'Leisure' | 'Business'

Response

Success

tokenstring nullable

Unique token recieved in the search init response to be used throught the process from search to book for a complete transaction.

currencystring nullable

The currency details for the hotel rates.