SetRoomDates

setRoomDates sets price and availability information for the room you specify. Beds24 sends the values to all channels that are activated for these values in the control panel.

Authentication and the request format are the same for all JSON methods. See JSON API Methods.

Data format

Send one object per room and date, keyed by the date, as in this example:

"20141015":{"p1":"45.00","p2":"55.00","p3":"65.00","p4":"75.00","i":"1","m":"2"}
Key Value
p1 Daily price row 1 price
p2 Daily price row 2 price
p3 Daily price row 3 price
p4 Daily price row 4 price
i Inventory quantity remaining to sell
m Minimum stay

For each date you can send up to 16 prices, the number of rooms available, minimum stay (room level), maximum stay (room level) and check-in and check-out restrictions. See Send price and availability.

Note: API V1 is deprecated and won't be developed further. For new projects, use API V2.

Related Articles

Was this article helpful?
0 out of 0 found this helpful

How to Contact us :