Get bundle
get_bundleReturns one bundle with every setting the app's editor can change: its deals (options, each with a short_id), which products it applies to, free gifts, upsells, price display and schedule. Pass include_style for colors, sizes and the custom swatches (variant_picker). We leave them out otherwise to keep the answer short. update_bundle takes changes under the same names. A bundle in an A/B test shows ab_test; pass version for the settings of version B, C or D.
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": {
"id": "<id>"
},
"name": "get_bundle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Bundle id from list_bundles. | |
| version | No | A/B test version. Default A, the live item. B, C and D change only while the test is a draft. | |
| include_style | No | Also return colors, sizes, the product picker's look and the custom swatches (variant_picker). |