list_coupons
Retrieve and filter affiliate coupon codes by status, affiliate ID, or code search to manage referral programs.
Instructions
List coupon codes associated with affiliates in your project. Filter by status, affiliate, or coupon code search.
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 |
|---|---|---|---|
| status | No | Filter by coupon status | |
| affiliate_id | No | Filter by affiliate ID | |
| coupon_code | No | Search by coupon code (partial match) | |
| limit | No | Number of results (default 50) | |
| offset | No | Pagination offset |