Update bundle
update_bundleUpdate bundle fields with a partial PATCH by sending only changed values such as title, status, discount, dates, quantity, type, or slug; replacing components clears existing bindings.
Instructions
Update a bundle (plain application/json PATCH): send only the fields to change — title, description, discount, discount_mode, bundle_dates, status (ACTIVE|INACTIVE; archive with bundle_action), quantity, type, components, slug, seo_title, seo_description. Bound cards, categories and collections are not changed by other fields — use manage_bundle_component_objects. Sending components REPLACES every component: the old component IDs and everything bound to them are gone, the new components start empty. Read the bindings with get_bundle first and re-bind them to the new component IDs afterwards. Returns the updated bundle. Call get_operation_schema("UpdateBundle") for the exact request shape.
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>",
"bundle": "<bundle>"
},
"name": "update_bundle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Bundle ID (UUID). | |
| bundle | Yes | Fields to update, matching the UpdateBundleRequest schema (see get_operation_schema("UpdateBundle")). Must not be empty. |