get_guests_guestid_vouchers
Retrieve all vouchers for a specific guest to display discount codes, verify validity periods, and track usage limits on their account.
Instructions
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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guestId | Yes | Numeric ID of the guest to fetch vouchers for |