SetRoomDates
Revision as of 21:34, 29 October 2014 by Beds24>Markkinchin (Created page with "Category:JSON API Methods == About == setRoomDates will set price and availability information for the specified room. == Data == The data should be specified in a se...")
About
setRoomDates will set price and availability information for the specified room.
Data
The data should be specified in a set of objects per room and date as per the following example.
"20141015":{"p1":"45.00","p2":"55.00","p3":"65.00","p4":"75.00","i":"1","m":"2"}
where the keys are:
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