bos_voucher_create
Creates a new voucher by specifying code, type (percentage or fixed), value, start and end dates, with optional minimum order amount, max discount, and usage limit.
Instructions
Create a new voucher
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>",
"type": "<type>",
"value": "<value>",
"start_date": "<start_date>",
"end_date": "<end_date>"
},
"name": "bos_voucher_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| type | Yes | ||
| value | Yes | ||
| min_order_amount | No | ||
| max_discount | No | ||
| start_date | Yes | ||
| end_date | Yes | ||
| usage_limit | No |