Skip to main content

AllRatesRequest

Request object for fetching the all rates

checkInDate daterequired

Check-in date in hotel's time zone, in ISO-8601 date format (YYYY-MM-DD). Maximum 365 days lead-time.

checkOutDate daterequired

Check-out date in hotel's time zone, in ISO-8601 date format (YYYY-MM-DD). Maximum 60 days permitted stay.

hotelId stringrequired

Hotel ID

rooms object[]required

Details of rooms requested. Maximum 8 rooms per request.

  • Array [
  • adultsCount integer

    Number of adults. Each room maximum 9 guests allowed.

    childrenAges integer[]

    Ages of children if staying in the room. Maximum 17.

  • ]
  • userCountry string

    User's country code. Use ISO 3166-1 alpha-2 country code

    Default value: US
    deviceType string

    Device used by the user.

    Possible values: [DESKTOP, MOBILE, TABLET]

    Default value: DESKTOP
    isUserLoggedIn boolean

    Indicate whether user in partner site is logged in.

    Default value: false
    isPackage boolean

    Indicate whether this user booked another service other than hotels in partner site.

    Default value: false
    AllRatesRequest
    {
    "checkInDate": "2024-05-18",
    "checkOutDate": "2024-05-20",
    "hotelId": "{{hotelId}}",
    "rooms": [
    {
    "adultsCount": 2,
    "childrenAges": [
    12
    ]
    }
    ],
    "userCountry": "MY",
    "deviceType": "DESKTOP",
    "isUserLoggedIn": false,
    "isPackage": false
    }