Skip to content

Manage bathrooms

Request

Add, modify or delete room-level bathroom information.

Important — overlay semantics: This endpoint uses full-replace mode. Any bathroom definition absent from the request body is permanently deleted. Before updating existing bathroom configuration, call GET /facilities-api/properties/{propertyId}/rooms/{roomId}/bathrooms to retrieve the current state, then include all existing bathroom entries in your PUT body alongside any changes.

Path
propertyIdintegerrequired
roomIdintegerrequired
Bodyapplication/jsonrequired
property_bathroom_detailsobject(PropertyBathroomDetailsRequest)
hotel_bathroom_detailsobject(HotelBathroomDetailsRequest)

Bathroom details for hotel-group properties. Consistency rules: if both private_bathroom_state and shared_bathroom_state are MISSING, number_of_bathrooms must be 0. If either state is PRESENT, number_of_bathrooms must be greater than 0.

Enable hotel group bathrooms

curl -i -X PUT \
  'https://developers.booking.com/_mock/connectivity/docs/openapispecs/facilities-api/facilities-api-specification/facilities-api/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
    }
  }'

Responses

OK

Bodyapplication/json
dataobject(SuccessObject)
warningsArray of any, <= 0 items
errorsArray of any, <= 0 items
metaobject(ResponseMeta)
Response
{ "data": { "success": true }, "warnings": [], "errors": [], "meta": { "ruid": "string" } }