SetRoomDates

From Beds24 Wiki
Revision as of 22:34, 29 October 2014 by Markkinchin (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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