Closing a rate for a specific room on a specific date

Post Reply
silverbyte
Posts: 8
Joined: Wed Apr 04, 2018 5:03 pm
Location: Israel
Contact:

Closing a rate for a specific room on a specific date

Post by silverbyte » Wed Apr 04, 2018 5:09 pm

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: 885
Joined: Fri Mar 02, 2012 1:43 pm

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

Post by markkinchin » 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.

silverbyte
Posts: 8
Joined: Wed Apr 04, 2018 5:03 pm
Location: Israel
Contact:

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

Post by silverbyte » Mon Apr 09, 2018 11:54 am

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: 885
Joined: Fri Mar 02, 2012 1:43 pm

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

Post by markkinchin » Mon Apr 09, 2018 1:34 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:

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

Post by silverbyte » Mon Apr 09, 2018 5:31 pm

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

Post Reply