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)

Enable hotel group bathrooms

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
    }
  }'

Responses

OK

Body*/*
dataobject(SuccessObject)
warningsArray of objects(ApiError)
errorsArray of objects(ApiError)
metaobject(ResponseMeta)
Response
{
  "data": {
    "success": true
  },
  "warnings": [
    {
      "message": "string",
      "code": "string",
      "details": {}
    }
  ],
  "errors": [
    {
      "message": "string",
      "code": "string",
      "details": {}
    }
  ],
  "meta": {
    "ruid": "string"
  }
}