list_coupons
Retrieve discount coupons with code, type, amount, and usage stats. Specify fields to limit response data.
Instructions
List discount coupons. Shows code, type (percent/fixed_cart/fixed_product), amount, and usage stats. Use fields param to request only needed fields.
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 |
|---|---|---|---|
| page | No | Page number | |
| fields | No | Comma-separated fields to return (default: id,code,discount_type,amount,usage_count,date_expires) | |
| search | No | Search term | |
| per_page | No | Items per page (max 100) |