Create bundle
create_bundleCreates a bundle from a template, in the store's colors and language, with any changes applied. Templates: volume_discount (quantity breaks: 1, 2, 3 units with growing discounts), bxgy (buy X get Y free), mix_and_match (several products in one deal), complete_the_bundle (the product plus chosen companions), subscription (quantity breaks with subscribe and save), quantity_picker (quantity breaks in a grid). To set the deals, list them in changes.options in order, without short_id: they replace the template's deals. The new bundle is off: shoppers don't see it until set_bundle_status switches it on. Look up product, variant and collection ids with search_products first.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "create_bundle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name in the app. Shoppers don't see it. Unique in the store. | |
| changes | No | Fields to change, named as get_bundle returns them. Objects merge into what is there; lists replace the whole list. Text may use {{saved_total}}, {{saved_percent}} and {{product}}; mix and match item titles may use {{product_title}}. | |
| template | No | Default volume_discount. |