Skip to content

Manage bathrooms

Request

Add, modify or delete room-level bathroom information

Path
propertyIdinteger, (int32)required
roomIdinteger, (int64)required
Bodyapplication/jsonrequired
property_bathroom_detailsobject(PropertyBathroomDetails)
hotel_bathroom_detailsobject(HotelBathroomDetails)
curl -i -X PUT \
  'https://developers.booking.com/_mock/connectivity/docs/openapispecs/facilities-api/facilities-api-specification/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 objects(ApiError)
errorsArray of objects(ApiError)
metaobject(ResponseMeta)
Response
{ "data": { "success": true }, "warnings": [ {} ], "errors": [ {} ], "meta": { "ruid": "string" } }