Returns a list of voucher codes and the total voucher code count.
A maximum of 1000 voucher codes may be returned by this method.
/voucher/{bundle_id}
This method is only accessible using a Hotelier API account.
{
"count":INTEGER, // Total codes count (at most 1000 codes are listed in voucher_codes)
"id":INTEGER, // Bundle id
"voucher_codes": [
{
"code":STRING,
"usages":INTEGER,
"locked":BOOLEAN,
"active":BOOLEAN,
"value":MONEY, // Empty if not defined
"expiration":ISO 8601, // Empty if not defined
"currency":ISO 4217 // Empty if not defined
}
]
}