Closing a rate for a specific room on a specific date

Develper issues when using the Beds24 APi.
Post Reply
silverbyte
Posts: 8
Joined: Wed Apr 04, 2018 5:03 pm
Location: Israel
Contact:

Hello, all
I am trying to use setRates function to close out a specific date, but I do not see the possibility to do that.
The only way I see is possible is to send zero inventory, however, if the property syncs the actual inventory, the date will reopen.

Did I miss a field in the API, which closes out a specific date for specific rate and room combination?

Thank you
Arcady Abramov
markkinchin
Site Admin
Posts: 935
Joined: Fri Mar 02, 2012 1:43 pm

It is better to set the inventory "i" or override status "o" of the dates using JSON setRoomDates.

see JSON getRoomDates for information about the parameters.
silverbyte
Posts: 8
Joined: Wed Apr 04, 2018 5:03 pm
Location: Israel
Contact:

markkinchin wrote:
Mon Apr 09, 2018 9:22 am
It is better to set the inventory "i" or override status "o" of the dates using JSON setRoomDates.

see JSON getRoomDates for information about the parameters.
I do not see anything about status in the specs.
Can you past an example request here, please?
markkinchin
Site Admin
Posts: 935
Joined: Fri Mar 02, 2012 1:43 pm

silverbyte wrote:
Mon Apr 09, 2018 11:54 am
I do not see anything about status in the specs.
Can you past an example request here, please?
see JSON getRoomDates for information about the parameters.
silverbyte
Posts: 8
Joined: Wed Apr 04, 2018 5:03 pm
Location: Israel
Contact:

Sorry, I see it now. Was looking at SetRoomDates instead.
Post Reply