get_discount
Retrieve details of a single discount code, including type, amount, usage limits, and expiry date.
Instructions
[WPCafe Pro] Get details of a single discount code including type, amount, usage limits, and expiry.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "get_discount"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Discount ID |