Apply a promo code
bk_cart_promoRequires sign-in and the booking:cart permission. Apply a promo or discount code to the live booking cart, or remove one with remove=true. A code applied before bk_cart_checkout is reflected in the checkout total. Returns the updated 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": {
"session_key": "<session_key>",
"promo_code": "<promo_code>"
},
"name": "bk_cart_promo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| remove | No | True to remove the code instead of applying it | |
| promo_code | Yes | The promo / discount code | |
| session_key | Yes | The cart session key |