Data Enrichment

Before rendering any property, your affiliate merges live API data with local database records using the property ID as the join key.

Properties without a local record are excluded

Properties returned by the API that have no matching local record are silently excluded from search results. Always run Property Synchronisation before going live.

Fields from Allbookers API

These fields come live from the API response on every search request:

FieldTypeDescription
idLongProperty ID (join key)
propertyNameStringDisplay name
latitudeDoubleGPS latitude
longitudeDoubleGPS longitude
roomDTOListList<RoomDTO>Rooms, rate plans, and availability
reviewsList<ReviewDTO>Guest reviews from Allbookers

Fields from Affiliate Local Database

These fields are populated during Property Synchronisation and stored in your local database:

FieldTypeDescription
starsIntegerStar rating (1–5)
cityNameStringCity name
streetNameStringStreet address
countryIsoStringISO country code
primaryPhotoUrlStringURL of the affiliate-managed primary photo
topFacilitiesList<String>Top facility names (e.g. "Pool", "WiFi")
hotelTypeStringProperty type label (e.g. "Hotel", "Resort")
pointDistanceFloatDistance to nearest point of interest
distanceTypeStringDistance unit (e.g. "km")
pointNameStringName of the nearest point of interest

Computed at Merge Time

These fields are calculated by your affiliate code at the moment of merging API data with local data:

FieldTypeDescription
cheapestPriceDoubleLowest valid total price for the requested stay, summed from RoomTypeAvailabilityDTO.price across all rate plans and rooms.
mealPlanStringMeal plan name of the cheapest rate plan.
cancellationPolicyStringCancellation policy of the cheapest rate plan.
averageRatingDoubleCombined average of Allbookers reviews and local affiliate reviews on a 0–10 scale. API reviews are 0–5 — multiply by 2 before combining.
ratingTextStringLabel derived from averageRating: 9.0+ Exceptional | 8.0+ Very Good | 7.0+ Good | 6.0+ Pleasant | <6.0 Okay
reviewCountIntegerTotal review count from both sources combined.
isFavoritebooleanWhether the property is in the current user's wishlist.
Rating scale conversion

Allbookers reviews use a 0–5 scale. Multiply by 2 before combining with affiliate reviews to get a unified 0–10 scale for averageRating.