v1

latestOpenAPI 3.1.02026-08-0610344237.7 KB
Hotel

Get hotel search results

Get all available hotels for the requested search parameters.

post/v2/hotel/search

Request body

Example request

{
  "searchParams": {
    "occupancyDates": {
      "occupancy": [
        {
          "numAdults": 1
        }
      ],
      "checkInDate": {
        "iso8601": "2017-07-21T17:32"
      },
      "checkOutDate": {
        "iso8601": "2017-07-21T17:32"
      }
    },
    "searchBy": {
      "searchType": "AIRPORT",
      "airport": "LHR"
    }
  },
  "filters": {
    "priceRange": {
      "min": {
        "amount": 510,
        "currencyCode": "GBP"
      },
      "max": {
        "amount": 510,
        "currencyCode": "GBP"
      }
    },
    "amenities": [
      "ECO_FRIENDLY"
    ],
    "radius": {
      "length": 150,
      "unit": "MILE"
    }
  },
  "userId": {
    "userIdType": "USER_ID"
  },
  "paginationParams": {
    "pageToken": "token"
  }
}

Response

OK