Facilities
The hotel and room facility catalogues, with icon classes, priorities and translated labels. Use them to build amenity filters and your icon mapping.
Two catalogues list the facilities: one for hotels, one for rooms. Datasheets carry facilities in the same shape, in accommodationFacilities[] and roomFacilities[]. Fetch each catalogue once per language and sync run.
Accommodation facilities
Room facilities
Room facility categories
RoomFacilityVO.category takes one of 12 values.
GENERAL, ACTIVITIES, BATHROOM, MEDIA_AND_TECHNOLOGY, FOOD_AND_DRINK, INTERNET, KITCHEN, OUTDOORS, VIEW, LIVING_AREA, BEDROOM, EXCLUSIVE_SERVICES
Sorting and icons
- Sort by
priority, highest first, to pick "top amenities" for a hotel card or page. iconis a CSS class: Font Awesome (fa-regular fa-…) or the platform's ownico-tc-…classes. Map it to your own icon set.- Whether a facility costs extra is not specified.
- The facility data is dynamic. Refresh both catalogues on every sync run; they are small.
const top = [...sheet.accommodationFacilities]
.sort((a, b) => b.priority - a.priority)
.slice(0, 6)
.map((f) => ({ label: f.translations[lang], icon: iconFor(f.icon) }));Legacy shapes
Old docs and samples also show facilities { includedFacilities[], nonIncludedFacilities[], otherFacilities[] } and plain-string lists such as includedServices[]. Don't build on them.
Related
- Datasheets: where facility ids appear
- Accommodation list: the weekly sync
- Hotel catalogue guide
Preferred hotels
The hotels your microsite promotes, returned as full datasheets. Use them for landing pages and recommended rails, then quote them for prices.
Meal plans
The meal plans configured on your microsite, with their codes, types and descriptions. Use them to label the mealPlan codes you get from Quote.