ls_get_discount
Retrieve a specific discount by ID to get its code, amount, type, and usage limits.
Instructions
Get a specific discount by ID, including code, amount, type, and usage limits.
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": {
"discountId": "<discountId>"
},
"name": "ls_get_discount"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| include | No | Comma-separated related resources to include (e.g. 'store,variants,discount-redemptions') | |
| discountId | Yes | The discount ID |