Skip to main content

HotelsSearchResponse

items object[]
  • Array [
  • baseCodestring

    Bundleport base code from mapping_hotels when mapped; empty string if unmapped.

    providerHotelCodestring
    hotelNamestring
    providerCodestring
    categorystring
    propertyTypestring
    chainCodestring
    citystring
    countryCodestring
    canonicalCityIdstring

    hotels.canonical_city_id when set. Standard field name across the API.

    canonicalCityPlaceIdstring

    Deprecated alias of canonicalCityId, kept for backward compatibility.

  • ]
  • totalinteger

    Total rows matching filters (same WHERE as items, without limit/offset/cursor).

    nextCursorstringnullable

    Provider hotel code cursor for the next page when more results exist.

    HotelsSearchResponse
    {
    "items": [
    {
    "baseCode": "string",
    "providerHotelCode": "string",
    "hotelName": "string",
    "providerCode": "string",
    "category": "string",
    "propertyType": "string",
    "chainCode": "string",
    "city": "string",
    "countryCode": "string",
    "canonicalCityId": "string",
    "canonicalCityPlaceId": "string"
    }
    ],
    "total": 0,
    "nextCursor": "string"
    }