v1

latestOpenAPI 3.0.12026-07-2626261190.5 KB
Hotel

post/api/hotel/{hotelId}/roomsandrates

Path parameters

hotelIdstring required

Headers

accountIdstring required

A custom header for all requests

apiKeystring required

apiKey

Request body

channelIdstring nullable

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

segmentIdstring nullable
searchSpecificProvidersboolean
providerIdsstring[] nullable
currencystring nullable

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

Check-in date.

checkOutstring date-time

Check-out date.

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.

travelPurpose'Leisure' | 'Business'

Response

Success

tokenstring nullable

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

currencystring nullable

The currency details for the hotel rates.