Page 1 of 1

Closing a rate for a specific room on a specific date

Posted: Wed Apr 04, 2018 5:09 pm
by silverbyte
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

Re: Closing a rate for a specific room on a specific date

Posted: Mon Apr 09, 2018 9:22 am
by markkinchin
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.

Re: Closing a rate for a specific room on a specific date

Posted: Mon Apr 09, 2018 11:54 am
by silverbyte
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?

Re: Closing a rate for a specific room on a specific date

Posted: Mon Apr 09, 2018 1:34 pm
by markkinchin
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.

Re: Closing a rate for a specific room on a specific date

Posted: Mon Apr 09, 2018 5:31 pm
by silverbyte
Sorry, I see it now. Was looking at SetRoomDates instead.