Retrieve room bathroom configuration. Bathroom attached to rooms.
Facilities API (1.0)
Manage facilities at both the property- and room-level.
Booking.com supports adding or assigning a variety of different facilities at the property- or room-level. Specify the facility ID along with any required parameters to assign a facility.
Facilities are of the following types:
- Single-instance facilities: You can assign these facilities only once to a property or a room.
An example of a single-instance facility is: room service. There are two types of single-instance facilities:
- Single-instance facilities that can be toggled on or off.
- Single-instance facilities supporting optional parameters: Allows you to specify more details about the facility
- Multi-instance facilities: You can assign multiple facilities of this type to a property. When adding multi-instance facilities you must provide additional details to add to a property or a room. Examples of multi-instance facilities are: Restaurant, Swimming pool and Parking.
Download OpenAPI description
Overview
URL
Connectivity Team
Languages
Servers
Test static response
https://developers.booking.com/_mock/connectivity/docs/openapispecs/facilities-api/facilities-openspec-remote-sync
https://supply-xml.booking.com/facilities-api
Meta data endpoint
Retrieve the latest facility definitions.
- Get the list of all supported facilities
- To get the details of a property-level facility: Look for a matching name under the facility_name in the response. To add this facility, you must specify the facility_id. Property-level facilities are listed under the property_facility_metas in the meta endpoint response.
- To get the details of the room-level facility: Look for a matching name under the room_facility_name in the response. To add the facility, you must specify the room_facility_id. Room-level facilities are listed under the room_facility_metas in the meta endpoint response.
- Details of the facilities such as ID, OTA code and any optional parameters.
Operations
- Test static responsehttps://developers.booking.com/_mock/connectivity/docs/openapispecs/facilities-api/facilities-openspec-remote-sync/properties/{propertyId}/rooms/{roomId}/bathrooms
- https://supply-xml.booking.com/facilities-api/properties/{propertyId}/rooms/{roomId}/bathrooms
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://developers.booking.com/_mock/connectivity/docs/openapispecs/facilities-api/facilities-openspec-remote-sync/properties/{propertyId}/rooms/{roomId}/bathrooms'- Test static responsehttps://developers.booking.com/_mock/connectivity/docs/openapispecs/facilities-api/facilities-openspec-remote-sync/properties/{propertyId}/rooms/{roomId}/bathrooms
- https://supply-xml.booking.com/facilities-api/properties/{propertyId}/rooms/{roomId}/bathrooms
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://developers.booking.com/_mock/connectivity/docs/openapispecs/facilities-api/facilities-openspec-remote-sync/properties/{propertyId}/rooms/{roomId}/bathrooms' \
-H 'Content-Type: application/json' \
-d '{
"hotel_bathroom_details": {
"shared_bathroom_state": "PRESENT",
"private_bathroom_state": "PRESENT",
"number_of_bathrooms": 3
}
}'