Returns the list of available voucher bundles.
/voucher
This method is only accessible using a Hotelier API account.
[ { "id":INTEGER, // Bundle id "priority":INTEGER, // Priority "name":STRING, // Name "description":STRING, // A short description "code_count":INTEGER, // Number of voucher codes in the bundle "code_limit":INTEGER, // Maximum number of times a code can been applied (empty if not defined) "date_from":ISO 8601, // Voucher is valid from this date "date_to":ISO 8601, // Voucher is valid until this date "special_offer":BOOLEAN, // Is true if voucher unlocks a special offer "package":BOOLEAN, "req_only":BOOLEAN, "last_flag":BOOLEAN, "active":BOOLEAN } ]
[ { "id": 90866, "priority": 1, "name": "Demo Best Offer", "description": "Book 10 days and save 5% off your reservation", "code_count": 0, "code_limit": "", "date_from": "2024-03-22", "date_to": "2024-03-25", "special_offer": true, "package": false, "req_only": true, "last_flag": false, "active": true }, { "id": 91237, "priority": 1, "name": "Weekends offer", "description": "Book your weekend with -5%", "code_count": 0, "code_limit": "", "date_from": "", "date_to": "", "special_offer": true, "package": false, "req_only": false, "last_flag": false, "active": true } ]