Example Request/Response
Header
Authorization: Basic [API key]
Example
Authorization: Basic dhxHaThFUDg6czVJYUR5bGw=
Body
{
"hotelid": "HT24001234",
"room": [{
"id": "RO24000001",
"date": [{
"from": "2024-03-10",
"to": "2024-03-10",
"rate": [{
"id": "TN24000001"
}
],
"roomstosell": "25",
"closed": "0",
"price": [{
"NumberOfGuests": "1",
"value": "100000.00",
"currencycode": "IDR"
}, {
"NumberOfGuests": "2",
"value": "150000.00",
"currencycode": "IDR"
}
],
"minimumstay": 2,
"maximumstay": 4,
"closedonarrival": "0",
"closedondeparture": "1"
}
]
}
]
}
The above example will do the following:
All changes made will have an effect on room with ID "RO24000001", rate with ID " TN24000001", and property with ID " HT24001234"
All changes made will have an effect on the 10th of March 2024
The room rate will be set to 100000.00 per night for the 1 guest and 150000.00 per night for the 2 guests of this room
The room will be open/bookable, because closed is set to 0
This room/rate/date combination can only be booked if the total reservation contains 2 or more nights
This room/rate/date combination can only be booked if the total reservation contains 4 or less nights
This room/rate/date combination is bookable when arriving on the 10th of March 2024
Guests cannot book this room/rate/date combination if their departure is on the 10th of March 2024
Last updated