- Add, update or remove property-level facilities
Add or update single or multi-instances facilities using this endpoint. Try the available request examples in the specification.
To delete a facility or all instances of a multi-instance facility (for example: all parking facility), you can change the facility state to MISSING.
Important — overlay semantics for multi-instance facilities: This endpoint replaces the full set of instances for any facility you include in the request. If you omit an existing instance, it is permanently deleted. Facility types not included in the request are unaffected.
Before updating a multi-instance facility (Parking, Restaurant, Swimming Pool), call GET /facilities-api/properties/{propertyId} to retrieve the current instance IDs for that facility, then include all of them alongside your changes in the PUT body. To add a new instance without disturbing existing ones, include the existing instances with their instance_id values plus the new instance (without an instance_id).
- Mock (schema only)https://developers.booking.com/_mock/connectivity/docs/openapispecs/facilities-api/facilities-api-specification/facilities-api/properties/{propertyId}
- Test using live endpointhttps://supply-xml.booking.com/facilities-api/properties/{propertyId}
- Add single-instance facilities
- Add single-instance facilities with additional details
- Add parking facilities (multi-instance)
- Add restaurant facility (multi-instance)
- Add swimming pool facility (multi-instance)
- Update existing and add new swimming pool instance
curl -i -X PUT \
'https://developers.booking.com/_mock/connectivity/docs/openapispecs/facilities-api/facilities-api-specification/facilities-api/properties/{propertyId}' \
-H 'Content-Type: application/json' \
-d '[
{
"facility_id": 418,
"state": "PRESENT"
},
{
"facility_id": 419,
"state": "MISSING"
}
]'