SetRoomDates

From Beds24 Wiki
Revision as of 02:19, 12 March 2019 by Weins (talk | contribs) (1版 をインポートしました)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


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