Create voucher
create_voucherCreate a discount voucher for Shopee, Lazada, or TikTok marketplace. Set discount type, value, validity period, and usage limits to attract buyers.
Instructions
Create a shop or product voucher.
[SENSITIVE] This action changes live shop data and requires the seller's explicit confirmation before it executes.
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": {
"name": "<name>",
"discount_type": "<discount_type>",
"discount_value": "<discount_value>",
"start_at": "<start_at>",
"end_at": "<end_at>"
},
"name": "create_voucher"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| scope | No | shop | |
| end_at | Yes | ISO 8601 end time. | |
| currency | No | ||
| platform | No | Marketplace to target. Defaults to shopee. | |
| start_at | Yes | ISO 8601 start time. | |
| min_spend | No | ||
| product_ids | No | ||
| usage_limit | No | ||
| discount_cap | No | Max discount for percent vouchers. | |
| discount_type | Yes | ||
| discount_value | Yes | ||
| confirmation_token | No | Echo back the token from a prior 'confirmation required' response to approve and execute this action. Only needed when the client cannot prompt directly. |