Update room bathrooms
documentedUpdate bathroom configuration for a room.
PUT /properties/{propertyId}/rooms/{roomId}/bathroomsFacilities APIno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://supply-xml.booking.com/facilities-api/properties/{{$property_id}}/rooms/{{$room_id}}/bathrooms" \
-X PUT \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"hotel_bathroom_details": {"shared_bathroom_state": "{{$shared_bathroom_state}}", "private_bathroom_state": "{{$private_bathroom_state}}", "private_bathroom_details": {"type": "{{$private_bathroom_type}}", "location_type": "{{$private_bathroom_location_type}}", "location_other": "{{$private_bathroom_location_other}}"}, "number_of_bathrooms": {{$number_of_bathrooms}}}}'