Buy and Get Promotion Basket
bpj_buy_get_promotion_basketApply a same-price buy-X-get-Y-free promotion to complete groups, charging remaining ungrouped units at list price.
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": {
"price": "<price>",
"quantity": "<quantity>",
"buy": "<buy>",
"gift": "<gift>"
},
"name": "bpj_buy_get_promotion_basket"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| buy | Yes | ||
| gift | Yes | ||
| price | Yes | ||
| quantity | Yes |