Page 1 of 1

Voucher Codes for reservation from/to

Posted: Wed Sep 30, 2015 4:31 pm
by marirose
it would be useful to implement the features of the voucher by entering a date range, valid for bookings from / to.
Thanks

Re: Voucher Codes for reservation from/to

Posted: Thu Oct 01, 2015 6:32 am
by markkinchin
marirose wrote:it would be useful to implement the features of the voucher by entering a date range, valid for bookings from / to.
Thanks
There is a way to do this. The Voucher Codes can be enabled/disabled per rate. Create a matching rate with the date range you need and set the Voucher Code to enabled in this rate and disable it in all other rates.

Re: Voucher Codes for reservation from/to

Posted: Fri Oct 02, 2015 12:35 pm
by marirose
Thank you for the reply,
I do what you suggested: opened any rate (about 140) to uncheck "Allow Voucher Codes with this Rate".
It is a long procedure, and probably I have to do the same every time a new voucher is create, isn't it?

Re: Voucher Codes for reservation from/to

Posted: Fri Oct 02, 2015 1:39 pm
by markkinchin
Yes, if you have that many rates it is a long process.

It is possible to download rates to a CSV file, modify them in a spreadsheet and upload the changes.

See the getRatesCSV and putRatesCSV functions at http://api.beds24.com/