Rates
Last updated
Last updated
Method: GET
Path: /publishers/{publisherCode}/hotels/{hotelCode}/ratePlans/{ratePlanCode}/rates?startDate={yyyy-MM-dd}
or
Path: /publishers/{publisherCode}/hotels/{hotelCode}/ratePlans/{ratePlanCode}/rates?startDate={yyyy-MM-dd}&range={NumberOfDays}
Description: Fetch the rates for a rate plan code based on given publisher, hotel and date range.
Parameters
publisherCode
path
The unique identifier for the data publisher. Please refer to list
Yes
String
hotelCode
path
The code that uniquely identifies a single hotel property.
Yes
String
ratePlanCode
path
The rate plan code.
Yes
String
startDate
query
Start date to query for availability. Format like yyyy-MM-dd
i.e 2024-07-21
.
Yes
Date
range
query
The number of days to query for. Maximum 30
.
No
Number
Responses
200
OK
401
Unauthorized
403
Forbidden
405
Method Not Supported
429
Too Many Requests
500
Internal Server Error
Response JSON Samples: Rates Sample