SetRoomDates

From Beds24 Wiki
Jump to navigation Jump to search


1 About

setRoomDates will set price and availability information for the specified room.


2 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