Get discount
get_discountRetrieves a discount by exact ID so you can inspect its details and linked store, variant, or redemption relationships.
Instructions
Retrieves the discount with the given ID.
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 | Exact opaque native resource ID; no traversal or URL. | |
| account | No | Exact private profile label. Does not prove store ownership; mode applies to the main API key only. | |
| include | No | Comma-separated native relationships from pinned official SDK: store, variants, discount-redemptions. |