Update room availability, prices and restrictions
hotelrunner_update_room_calendarWRITE: change availability, price, minimum/maximum stay, stop-sale, closed-to-arrival (cta) or closed-to-departure (ctd) for ONE room type (inv_code) over a date range of at most 90 days, optionally only on some weekdays and only on some channels. Only the fields you pass are changed. This is LIVE inventory: HotelRunner pushes it to every connected channel (Booking.com, Expedia, your own booking engine, ...) and it changes what guests can book and pay. The price is the base-rate price in the property's sales currency; guest-based prices derive from it. Only rooms whose availability_update / restrictions_update / price_update flag is true (hotelrunner_list_rooms) accept that kind of change. HotelRunner answers asynchronously: the reply has a transaction_id; check per-channel results with hotelrunner_get_transaction_details. Send one change per call, not a full refresh. Counts as one of the property's 250 requests per day (5 per minute). PUT /api/v2/apps/rooms/daily.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cta | No | Closed to arrival. | |
| ctd | No | Closed to departure. | |
| days | No | Only these weekdays, 0 = Sunday ... 6 = Saturday (default: every day). | |
| price | No | Base nightly price in the property's sales currency. | |
| end_date | Yes | Last date to change (inclusive), yyyy-mm-dd. | |
| inv_code | Yes | An inventory code from hotelrunner_list_rooms, e.g. HR:1903. | |
| max_stay | No | Maximum nights. | |
| min_stay | No | Minimum nights. | |
| stop_sale | No | true = close the room for sale on these dates, false = reopen. | |
| start_date | Yes | First date to change, yyyy-mm-dd. | |
| availability | No | Rooms available to sell. | |
| channel_codes | No | Only these channels (codes from hotelrunner_list_connected_channels); default: all connected channels of the room. |