Show discount code
agenta_discounts_showRetrieve a discount code by ID to see what it takes off, its limits, and how many buyers used it; no changes made.
Instructions
Show one discount code: what it takes off and how many people used it. Returns one discount code by id: what it takes off, its limits, and how many buyers used it. Changes nothing.
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": "agenta_discounts_show"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The discount code id | |
| business | No | Act for this business you manage (its id). Omit to act as yourself. |