v1

latestSwagger 2.02026-07-141993129.2 KB
Rates

Get a list of room offers for the specified guest stay details.

With the rates request you can get a list of different rate offers per room type. You will have to at least specify the hotel, the arrival and departure date, number of adults per room and the channel code. The channel code will define which rates will be returned based on the access control configuration for the rates.

get/api/booking/v0/rates

Query parameters

hotelIdinteger required

Specifies the hotel id to request offers for.

arrivalDatestring date-time required

Date of arrival for the guest in the ISO-8601 format "YYYY-MM-DD".

departureDatestring date-time required

Date of departure for the guest in the ISO-8601 format "YYYY-MM-DD".

channelCodestring required

Channel Code the rate plan needs to be configured for.

adultsstring byte required

Number of adults per room.

roomsstring byte

Number of rooms (default is 1).

roomTypestring

Only return offers with rates for the specified room type code.

ratePlanCodestring

Only return offers for the specified room type code.

groupCodestring

Only return offers for the specified group code.

expand'None' | 'Breakdown'

Expand the rates breakdown if required.

Headers

App-Idstring required

Application identifier

App-Keystring required

Application key.

Response

Different rates for the requested stay details grouped by room type.

arrival_datestring date-time

The arrival date of the guest for this rate offer

departure_datestring date-time

The departure date of the guest for this rate offer

hotel_idinteger

The id of the hotel the rate offers will be valid for

hotel_namestring

The name of the hotel the rate offers will be valid for