Check Kash promo code
coupon_checkCheck a promo code and optionally estimate the reduction for a cart. Provide customer and cashbox context when applicable.
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": {
"code": "<code>"
},
"name": "coupon_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cart | No | ||
| code | Yes | Sensitive coupon code. Keep it out of messages and URLs. | |
| cashbox_id | No | Kash cashbox ID or -9 for the web shop. | |
| customer_id | No | Kash customer ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes |