AddSynapse: coupon details
get_couponAddSynapse: One coupon by code: type, amount, expiry, usage limits and count, product/category restrictions. Read-only.
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": "get_coupon"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| site | No | Which connected site: its address or site_id from addsynapse_list_sites. Omit when the account has only one site. |