bos_cart_apply_voucher
Apply a voucher code to a cart to deduct the discount amount. This tool enables adding promotional codes during checkout for price reduction.
Instructions
Apply voucher code to cart
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": {
"voucher_code": "<voucher_code>"
},
"name": "bos_cart_apply_voucher"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| voucher_code | Yes |