List coupons
list_couponsRetrieve registered affiliate coupon codes with optional filters for provider, campaign, affiliate, or code; requires a Pro plan or higher.
Instructions
List registered affiliate coupon codes. Requires Pro plan or higher.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_coupons"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Look up one code | |
| page | No | Page number, starting at 1 (default 1) | |
| limit | No | Results per page, max 100 (default 25) | |
| provider | No | Filter by provider | |
| campaignId | No | Only coupons for this campaign | |
| affiliateId | No | Only coupons for this affiliate |