SetRoomDates: diferenças entre revisões

Fonte: Manual HostSync.io
Saltar para a navegação Saltar para a pesquisa
iurirosa>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..."
 
m 1 edição importada
 
(Sem diferenças)

Edição atual desde as 19h30min de 4 de abril de 2025


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