Skip to main content

ChangedHotel

baseCodestring

Bundleport base code.

primary objectnullable

Hotel with flattened structure. Arrays (descriptions, boardCodes, amenities, media, rooms, mandatoryFee, closestDestinations) are always present; use empty array when none. Location and contact may be null. Geo enrichment fields (countryName, canonicalCityPlaceId, region, etc.) come from geo resolution when available.

codestring

Hotel identifier (provider-specific code).

hotelNamestring

Name of the hotel.

descriptions object[]

Descriptions by language; always present, empty when none.

  • Array [
  • textstring

    Description text content

    languagestring

    ISO 639-1 language code

  • ]
  • categorystringnullable

    Category code (e.g. 3STAR, 4STAR).

    propertyTypestringnullable
    chainCodestringnullable
    boardCodesstring[]

    Meal plan codes; always present.

    mandatoryFee object[]

    Mandatory fees; always present.

  • Array [
  • namestring

    Fee name

    textstring

    Fee description

    pricenumber<float>

    Fee amount

    includedboolean

    Whether the fee is included in the price

  • ]
  • rooms object[]

    Room types; always present.

  • Array [
  • codestring

    Room code

    roomCodestring

    Provider-specific room code

    maxOccupancyinteger

    Maximum occupancy stated by the provider.

    bundleportRoomCodestringnullable

    Canonical room code from mapping_rooms when mapped.

    contentSourcestringnullable

    Provider code that supplied images/texts/beds when they were inherited via cross-provider fill (same hotel base + same bundleportRoomCode). Omitted when content comes from the room's own provider.

    texts object[]

    Room descriptions (when includeRoomDetail is true).

  • Array [
  • typestring

    Type of text (e.g., description, shortDescription)

    languageCodestring

    ISO 639-1 language code

    textstring

    Text content

  • ]
  • images object[]

    Room images (when includeRoomDetail is true).

  • Array [
  • codestring

    Image code

    urlstring

    Image URL

    orderinteger

    Display order

    mediaTypestring

    Type of media

    captionstring

    Image caption

  • ]
  • beds object[]

    Bed information (when includeRoomDetail is true).

  • Array [
  • typestring

    Bed type

    countinteger

    Number of beds

  • ]
  • ]
  • amenities object[]

    Amenities; always present.

  • Array [
  • codestringrequired

    Amenity code identifier

    namestringnullable

    Amenity name

    nameEnstringnullable

    Amenity name in English

    typestringnullable

    Amenity type/category

    descriptionstringnullable

    Amenity description

    categorystringnullable

    Canonical category for display/filtering (e.g. Pool, Gym, Room amenity)

    subcategorystringnullable

    Canonical subcategory for display/filtering (e.g. Pool, Wellness, Dining, RoomEquipment)

  • ]
  • topAmenities object[]

    Top amenities (ordered by top_amenities); always present.

  • Array [
  • codestringrequired

    Amenity code identifier

    namestringnullable

    Amenity name

    nameEnstringnullable

    Amenity name in English

    typestringnullable

    Amenity type/category

    descriptionstringnullable

    Amenity description

    categorystringnullable

    Canonical category for display/filtering (e.g. Pool, Gym, Room amenity)

    subcategorystringnullable

    Canonical subcategory for display/filtering (e.g. Pool, Wellness, Dining, RoomEquipment)

  • ]
  • media object[]

    Images/videos; always present.

  • Array [
  • urlstringrequired

    Absolute media URL.

    orderIndexintegernullable

    Display order as delivered by the provider.

    isPrimarybooleannullable

    True for the first image of the hotel.

  • ]
  • location objectnullable

    Address from provider; always present, null when missing.

    addressstringnullable

    Primary address line.

    line2stringnullable

    Secondary address line (backward compatibility).

    citystringnullable

    City name from address.

    statestringnullable

    State or province.

    countryCodestringnullable

    ISO 3166-1 alpha-2 from address.

    countryNamestring

    Human-readable country name when countryCode is set; empty when unknown.

    postalCodestringnullable

    Postal or ZIP code.

    latitudenumber<float>nullable

    Latitude coordinate.

    longitudenumber<float>nullable

    Longitude coordinate.

    contact objectnullable

    Contact info; always present, null when missing.

    phonestringnullable

    Phone number

    emailstringnullable

    Email address

    websitestringnullable

    Website URL

    faxstringnullable

    Fax number

    providerCodestring

    Provider identifier; always present.

    connectionCodesstring[]

    Connection codes where this hotel is available; always present.

    imageBaseUrlstringnullable

    Base URL to prepend to media URLs (from provider metadata). Omit or empty = use media URL as-is.

    imageURLstringnullable

    Alias for imageBaseUrl (e.g. by-base-codes clients).

    providerHotelCodestring

    Provider-specific hotel code.

    exclusiveDealboolean
    starRatingintegernullable
    starRatingSourcestringnullable

    How starRating was resolved — "official" (provider property rating) or "category" (parsed from category string).

    destinationCodestringnullable

    Primary destination code (first in closestDestinations).

    closestDestinations object[]

    Tourist destinations near the hotel (city, region); always present, empty when none.

  • Array [
  • destinationCodestringrequired

    Stable ID (place ID or provider code) for programs.

    destinationNamestring

    Human-readable name; empty when missing or not displayable.

  • ]
  • rankingnumber<float>nullable

    Internal quality composite (0-100) used for ordering (blends location, reviews, value and popularity). Present when a valuation exists; uses neutral defaults for missing signals, so it is NOT a guest-review score. For reviews use reviewScore.

    reviewScorenumber<float>nullable

    Guest review score (0-100) from REAL external reviews only. Null/absent when the hotel has no reviews yet ("absent" = "not rated"); never a synthetic default. For an always-present quality signal for ordering, use ranking instead.

    reviewCountintegernullable

    Number of real guest reviews backing reviewScore. Null/absent when the hotel is not rated.

    createdAtstring<date-time>nullable
    updatedAtstring<date-time>nullable
    citystringnullable

    City name from address; also in location.city.

    countryCodestringnullable

    Canonical country ISO 3166-1 alpha-2 (from geo enrichment).

    countryNamestring

    Human-readable country name when countryCode is set; empty when unknown.

    canonicalCityPlaceIdstringnullable

    places.id (UUID) of canonical city from geo enrichment.

    cityGeonameIdstringnullable

    GeoNames ID of canonical city when available.

    distanceToCenterKmnumber<float>nullable

    Distance from hotel to city center in km.

    regionstringnullable

    Canonical region name (e.g. Costa Brava) when city has REGION parent.

    regionPlaceIdstringnullable

    places.id (UUID) of region place.

    regionGeonameIdstringnullable

    GeoNames ID of region when available.

    cityTimezonestringnullable

    IANA timezone of canonical city (e.g. Europe/Madrid).

    distanceToBeachKmnumber<float>nullable
    distanceToAirportKmnumber<float>nullable
    distanceToTrainStationKmnumber<float>nullable
    nearestAirportIatastringnullable
    nearestBeachPlaceIdstringnullable

    places.id of nearest beach.

    nearestAirportPlaceIdstringnullable
    nearestTrainStationPlaceIdstringnullable
    cityPois object[]

    POIs near canonical city center (airports, etc.).

  • Array [
  • placeIdstring
    typestring

    POI, AIRPORT

    namestring
    distanceKmnumber<float>

    Distance from city center in km.

    iatastringnullable
  • ]
  • locationPathstringnullable

    Hierarchical breadcrumb (e.g. Madrid, Community of Madrid, Spain) from places.path.

    externalIds objectnullable

    Cross-reference ids for agency mapping (provider property ids, Bundleport base code).

    bundleportBaseCodestringnullable

    Bundleport canonical hotel base code.

    providerPropertyIds objectnullable

    Provider-native property ids keyed by content source code (e.g. {"example": "129046618"}). Provider-agnostic cross-reference map for mapping against an external property reference; any source may appear.

    property name*string
    sources object[]

    Content per provider when includeAllSources was true.

  • Array [
  • providerstring
    providerCodestring
    hotel object

    Hotel with flattened structure. Arrays (descriptions, boardCodes, amenities, media, rooms, mandatoryFee, closestDestinations) are always present; use empty array when none. Location and contact may be null. Geo enrichment fields (countryName, canonicalCityPlaceId, region, etc.) come from geo resolution when available.

    codestring

    Hotel identifier (provider-specific code).

    hotelNamestring

    Name of the hotel.

    descriptions object[]

    Descriptions by language; always present, empty when none.

  • Array [
  • textstring

    Description text content

    languagestring

    ISO 639-1 language code

  • ]
  • categorystringnullable

    Category code (e.g. 3STAR, 4STAR).

    propertyTypestringnullable
    chainCodestringnullable
    boardCodesstring[]

    Meal plan codes; always present.

    mandatoryFee object[]

    Mandatory fees; always present.

  • Array [
  • namestring

    Fee name

    textstring

    Fee description

    pricenumber<float>

    Fee amount

    includedboolean

    Whether the fee is included in the price

  • ]
  • rooms object[]

    Room types; always present.

  • Array [
  • codestring

    Room code

    roomCodestring

    Provider-specific room code

    maxOccupancyinteger

    Maximum occupancy stated by the provider.

    bundleportRoomCodestringnullable

    Canonical room code from mapping_rooms when mapped.

    contentSourcestringnullable

    Provider code that supplied images/texts/beds when they were inherited via cross-provider fill (same hotel base + same bundleportRoomCode). Omitted when content comes from the room's own provider.

    texts object[]

    Room descriptions (when includeRoomDetail is true).

  • Array [
  • typestring

    Type of text (e.g., description, shortDescription)

    languageCodestring

    ISO 639-1 language code

    textstring

    Text content

  • ]
  • images object[]

    Room images (when includeRoomDetail is true).

  • Array [
  • codestring

    Image code

    urlstring

    Image URL

    orderinteger

    Display order

    mediaTypestring

    Type of media

    captionstring

    Image caption

  • ]
  • beds object[]

    Bed information (when includeRoomDetail is true).

  • Array [
  • typestring

    Bed type

    countinteger

    Number of beds

  • ]
  • ]
  • amenities object[]

    Amenities; always present.

  • Array [
  • codestringrequired

    Amenity code identifier

    namestringnullable

    Amenity name

    nameEnstringnullable

    Amenity name in English

    typestringnullable

    Amenity type/category

    descriptionstringnullable

    Amenity description

    categorystringnullable

    Canonical category for display/filtering (e.g. Pool, Gym, Room amenity)

    subcategorystringnullable

    Canonical subcategory for display/filtering (e.g. Pool, Wellness, Dining, RoomEquipment)

  • ]
  • topAmenities object[]

    Top amenities (ordered by top_amenities); always present.

  • Array [
  • codestringrequired

    Amenity code identifier

    namestringnullable

    Amenity name

    nameEnstringnullable

    Amenity name in English

    typestringnullable

    Amenity type/category

    descriptionstringnullable

    Amenity description

    categorystringnullable

    Canonical category for display/filtering (e.g. Pool, Gym, Room amenity)

    subcategorystringnullable

    Canonical subcategory for display/filtering (e.g. Pool, Wellness, Dining, RoomEquipment)

  • ]
  • media object[]

    Images/videos; always present.

  • Array [
  • urlstringrequired

    Absolute media URL.

    orderIndexintegernullable

    Display order as delivered by the provider.

    isPrimarybooleannullable

    True for the first image of the hotel.

  • ]
  • location objectnullable

    Address from provider; always present, null when missing.

    addressstringnullable

    Primary address line.

    line2stringnullable

    Secondary address line (backward compatibility).

    citystringnullable

    City name from address.

    statestringnullable

    State or province.

    countryCodestringnullable

    ISO 3166-1 alpha-2 from address.

    countryNamestring

    Human-readable country name when countryCode is set; empty when unknown.

    postalCodestringnullable

    Postal or ZIP code.

    latitudenumber<float>nullable

    Latitude coordinate.

    longitudenumber<float>nullable

    Longitude coordinate.

    contact objectnullable

    Contact info; always present, null when missing.

    phonestringnullable

    Phone number

    emailstringnullable

    Email address

    websitestringnullable

    Website URL

    faxstringnullable

    Fax number

    providerCodestring

    Provider identifier; always present.

    connectionCodesstring[]

    Connection codes where this hotel is available; always present.

    imageBaseUrlstringnullable

    Base URL to prepend to media URLs (from provider metadata). Omit or empty = use media URL as-is.

    imageURLstringnullable

    Alias for imageBaseUrl (e.g. by-base-codes clients).

    providerHotelCodestring

    Provider-specific hotel code.

    exclusiveDealboolean
    starRatingintegernullable
    starRatingSourcestringnullable

    How starRating was resolved — "official" (provider property rating) or "category" (parsed from category string).

    destinationCodestringnullable

    Primary destination code (first in closestDestinations).

    closestDestinations object[]

    Tourist destinations near the hotel (city, region); always present, empty when none.

  • Array [
  • destinationCodestringrequired

    Stable ID (place ID or provider code) for programs.

    destinationNamestring

    Human-readable name; empty when missing or not displayable.

  • ]
  • rankingnumber<float>nullable

    Internal quality composite (0-100) used for ordering (blends location, reviews, value and popularity). Present when a valuation exists; uses neutral defaults for missing signals, so it is NOT a guest-review score. For reviews use reviewScore.

    reviewScorenumber<float>nullable

    Guest review score (0-100) from REAL external reviews only. Null/absent when the hotel has no reviews yet ("absent" = "not rated"); never a synthetic default. For an always-present quality signal for ordering, use ranking instead.

    reviewCountintegernullable

    Number of real guest reviews backing reviewScore. Null/absent when the hotel is not rated.

    createdAtstring<date-time>nullable
    updatedAtstring<date-time>nullable
    citystringnullable

    City name from address; also in location.city.

    countryCodestringnullable

    Canonical country ISO 3166-1 alpha-2 (from geo enrichment).

    countryNamestring

    Human-readable country name when countryCode is set; empty when unknown.

    canonicalCityPlaceIdstringnullable

    places.id (UUID) of canonical city from geo enrichment.

    cityGeonameIdstringnullable

    GeoNames ID of canonical city when available.

    distanceToCenterKmnumber<float>nullable

    Distance from hotel to city center in km.

    regionstringnullable

    Canonical region name (e.g. Costa Brava) when city has REGION parent.

    regionPlaceIdstringnullable

    places.id (UUID) of region place.

    regionGeonameIdstringnullable

    GeoNames ID of region when available.

    cityTimezonestringnullable

    IANA timezone of canonical city (e.g. Europe/Madrid).

    distanceToBeachKmnumber<float>nullable
    distanceToAirportKmnumber<float>nullable
    distanceToTrainStationKmnumber<float>nullable
    nearestAirportIatastringnullable
    nearestBeachPlaceIdstringnullable

    places.id of nearest beach.

    nearestAirportPlaceIdstringnullable
    nearestTrainStationPlaceIdstringnullable
    cityPois object[]

    POIs near canonical city center (airports, etc.).

  • Array [
  • placeIdstring
    typestring

    POI, AIRPORT

    namestring
    distanceKmnumber<float>

    Distance from city center in km.

    iatastringnullable
  • ]
  • locationPathstringnullable

    Hierarchical breadcrumb (e.g. Madrid, Community of Madrid, Spain) from places.path.

    externalIds objectnullable

    Cross-reference ids for agency mapping (provider property ids, Bundleport base code).

    bundleportBaseCodestringnullable

    Bundleport canonical hotel base code.

    providerPropertyIds objectnullable

    Provider-native property ids keyed by content source code (e.g. {"example": "129046618"}). Provider-agnostic cross-reference map for mapping against an external property reference; any source may appear.

    property name*string
  • ]
  • memberCountinteger

    How many providers were merged into this base code. A value of 1 means the property is only known through one supplier, which is also what a fragmented identifier looks like from outside: the same hotel split across several base codes.

    descriptionSourcestringnullable

    Provider the returned description came from. It is not always the primary provider: when the primary only carries a placeholder, prose is taken from another member of the base code.

    mediaSourcestringnullable

    Sibling provider that filled media when the primary had none.

    amenitiesSourcestringnullable

    Sibling provider that filled amenities when the primary had none.

    contactSourcestringnullable

    Sibling provider that filled contact when the primary had none.

    chainSourcestringnullable

    Sibling provider that filled chain code when the primary had none.

    changedAtstring<date-time>

    Newest change among the providers merged into this base code.

    changedPartsstring[]

    What moved inside the requested window, merged across providers. Empty means only the mapping changed; the content itself predates the window.

    Possible values: [hotel, media, descriptions, rooms]

    changedProviders object[]

    The provider hotels that changed, so a consumer merging by base code knows which source to re-read.

  • Array [
  • providerstring
    providerCodestring
    changedAtstring<date-time>
    changedPartsstring[]

    Possible values: [hotel, media, descriptions, rooms]

  • ]
  • ChangedHotel
    {
    "baseCode": "string",
    "primary": {
    "code": "string",
    "hotelName": "string",
    "descriptions": [
    {
    "text": "string",
    "language": "string"
    }
    ],
    "category": "string",
    "propertyType": "string",
    "chainCode": "string",
    "boardCodes": [
    "string"
    ],
    "mandatoryFee": [
    {
    "name": "string",
    "text": "string",
    "price": 0,
    "included": true
    }
    ],
    "rooms": [
    {
    "code": "string",
    "roomCode": "string",
    "maxOccupancy": 0,
    "bundleportRoomCode": "string",
    "contentSource": "string",
    "texts": [
    {
    "type": "string",
    "languageCode": "string",
    "text": "string"
    }
    ],
    "images": [
    {
    "code": "string",
    "url": "string",
    "order": 0,
    "mediaType": "string",
    "caption": "string"
    }
    ],
    "beds": [
    {
    "type": "string",
    "count": 0
    }
    ]
    }
    ],
    "amenities": [
    {
    "code": "string",
    "name": "string",
    "nameEn": "string",
    "type": "string",
    "description": "string",
    "category": "string",
    "subcategory": "string"
    }
    ],
    "topAmenities": [
    {
    "code": "string",
    "name": "string",
    "nameEn": "string",
    "type": "string",
    "description": "string",
    "category": "string",
    "subcategory": "string"
    }
    ],
    "media": [
    {
    "url": "string",
    "orderIndex": 0,
    "isPrimary": true
    }
    ],
    "location": {
    "address": "string",
    "line2": "string",
    "city": "string",
    "state": "string",
    "countryCode": "string",
    "countryName": "string",
    "postalCode": "string",
    "latitude": 0,
    "longitude": 0
    },
    "contact": {
    "phone": "string",
    "email": "string",
    "website": "string",
    "fax": "string"
    },
    "providerCode": "string",
    "connectionCodes": [
    "string"
    ],
    "imageBaseUrl": "string",
    "imageURL": "string",
    "providerHotelCode": "string",
    "exclusiveDeal": true,
    "starRating": 0,
    "starRatingSource": "string",
    "destinationCode": "string",
    "closestDestinations": [
    {
    "destinationCode": "string",
    "destinationName": "string"
    }
    ],
    "ranking": 0,
    "reviewScore": 0,
    "reviewCount": 0,
    "createdAt": "2024-07-29T15:51:28.071Z",
    "updatedAt": "2024-07-29T15:51:28.071Z",
    "city": "string",
    "countryCode": "string",
    "countryName": "string",
    "canonicalCityPlaceId": "string",
    "cityGeonameId": "string",
    "distanceToCenterKm": 0,
    "region": "string",
    "regionPlaceId": "string",
    "regionGeonameId": "string",
    "cityTimezone": "string",
    "distanceToBeachKm": 0,
    "distanceToAirportKm": 0,
    "distanceToTrainStationKm": 0,
    "nearestAirportIata": "string",
    "nearestBeachPlaceId": "string",
    "nearestAirportPlaceId": "string",
    "nearestTrainStationPlaceId": "string",
    "cityPois": [
    {
    "placeId": "string",
    "type": "string",
    "name": "string",
    "distanceKm": 0,
    "iata": "string"
    }
    ],
    "locationPath": "string",
    "externalIds": {
    "bundleportBaseCode": "string",
    "providerPropertyIds": {
    "example": "129046618"
    }
    }
    },
    "sources": [
    {
    "provider": "string",
    "providerCode": "string",
    "hotel": {
    "code": "string",
    "hotelName": "string",
    "descriptions": [
    {
    "text": "string",
    "language": "string"
    }
    ],
    "category": "string",
    "propertyType": "string",
    "chainCode": "string",
    "boardCodes": [
    "string"
    ],
    "mandatoryFee": [
    {
    "name": "string",
    "text": "string",
    "price": 0,
    "included": true
    }
    ],
    "rooms": [
    {
    "code": "string",
    "roomCode": "string",
    "maxOccupancy": 0,
    "bundleportRoomCode": "string",
    "contentSource": "string",
    "texts": [
    {
    "type": "string",
    "languageCode": "string",
    "text": "string"
    }
    ],
    "images": [
    {
    "code": "string",
    "url": "string",
    "order": 0,
    "mediaType": "string",
    "caption": "string"
    }
    ],
    "beds": [
    {
    "type": "string",
    "count": 0
    }
    ]
    }
    ],
    "amenities": [
    {
    "code": "string",
    "name": "string",
    "nameEn": "string",
    "type": "string",
    "description": "string",
    "category": "string",
    "subcategory": "string"
    }
    ],
    "topAmenities": [
    {
    "code": "string",
    "name": "string",
    "nameEn": "string",
    "type": "string",
    "description": "string",
    "category": "string",
    "subcategory": "string"
    }
    ],
    "media": [
    {
    "url": "string",
    "orderIndex": 0,
    "isPrimary": true
    }
    ],
    "location": {
    "address": "string",
    "line2": "string",
    "city": "string",
    "state": "string",
    "countryCode": "string",
    "countryName": "string",
    "postalCode": "string",
    "latitude": 0,
    "longitude": 0
    },
    "contact": {
    "phone": "string",
    "email": "string",
    "website": "string",
    "fax": "string"
    },
    "providerCode": "string",
    "connectionCodes": [
    "string"
    ],
    "imageBaseUrl": "string",
    "imageURL": "string",
    "providerHotelCode": "string",
    "exclusiveDeal": true,
    "starRating": 0,
    "starRatingSource": "string",
    "destinationCode": "string",
    "closestDestinations": [
    {
    "destinationCode": "string",
    "destinationName": "string"
    }
    ],
    "ranking": 0,
    "reviewScore": 0,
    "reviewCount": 0,
    "createdAt": "2024-07-29T15:51:28.071Z",
    "updatedAt": "2024-07-29T15:51:28.071Z",
    "city": "string",
    "countryCode": "string",
    "countryName": "string",
    "canonicalCityPlaceId": "string",
    "cityGeonameId": "string",
    "distanceToCenterKm": 0,
    "region": "string",
    "regionPlaceId": "string",
    "regionGeonameId": "string",
    "cityTimezone": "string",
    "distanceToBeachKm": 0,
    "distanceToAirportKm": 0,
    "distanceToTrainStationKm": 0,
    "nearestAirportIata": "string",
    "nearestBeachPlaceId": "string",
    "nearestAirportPlaceId": "string",
    "nearestTrainStationPlaceId": "string",
    "cityPois": [
    {
    "placeId": "string",
    "type": "string",
    "name": "string",
    "distanceKm": 0,
    "iata": "string"
    }
    ],
    "locationPath": "string",
    "externalIds": {
    "bundleportBaseCode": "string",
    "providerPropertyIds": {
    "example": "129046618"
    }
    }
    }
    }
    ],
    "memberCount": 0,
    "descriptionSource": "string",
    "mediaSource": "string",
    "amenitiesSource": "string",
    "contactSource": "string",
    "chainSource": "string",
    "changedAt": "2024-07-29T15:51:28.071Z",
    "changedParts": [
    "hotel"
    ],
    "changedProviders": [
    {
    "provider": "string",
    "providerCode": "string",
    "changedAt": "2024-07-29T15:51:28.071Z",
    "changedParts": [
    "hotel"
    ]
    }
    ]
    }