get_vouchers
Overview
Get a paginated list of all vouchers in your system, including active and inactive vouchers with their current status.
When to Use
Voucher management - View all vouchers in your admin panel
Inventory overview - See all available discount codes
Status monitoring - Check which vouchers are active
Reporting - Generate lists of all vouchers for analysis
What You Get
Complete voucher list - All vouchers with full details
Discount information - Type, value, and currency for each voucher
Validity status - Start/end dates and current status
Usage tracking - Remaining uses for each voucher
Pagination
Results are paginated. Use the page and limit query parameters to navigate through the list, e.g. /vouchers?page=5&limit=10.
Quick Start
Optionally provide page and limit query parameters. Returns a paginated list of vouchers with complete details including codes, discounts, validity, and usage counts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number to retrieve (1-based). | |
| limit | No | Number of vouchers to return per page. |