get
https://api.liteapi.travel/v3.0/guests//vouchers
Overview
Retrieve all vouchers available to a specific guest, including discount codes, validity periods, and usage limits.
When to Use
- Voucher display - Show available vouchers on a guest's account page
- Discount management - Check which vouchers a guest can use
- Validity checking - Verify if vouchers are still active
- Usage tracking - Monitor voucher usage counts
What You Get
- Voucher list - All vouchers assigned to the guest
- Discount details - Type (percentage/fixed), value, and currency
- Validity period - Start and end dates for each voucher
- Usage information - Current usage count and usage limits
- Status - Active/inactive status of each voucher
Quick Start
Provide the guest ID in the URL path. Returns all vouchers available to that guest.