Archive or unarchive bundle
bundle_actionArchive or unarchive a bundle as a soft delete: archiving stops discounts and keeps it restorable; unarchiving returns it inactive for reactivation.
Instructions
Archive a bundle (soft delete: status becomes ARCHIVED, the discount stops applying, the bundle stays restorable) or unarchive it — it comes back INACTIVE, so activate it afterwards with update_bundle status ACTIVE. Bundles cannot be deleted. To pause a bundle without archiving, set status INACTIVE with update_bundle.
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>",
"action": "<action>"
},
"name": "bundle_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Bundle ID (UUID). | |
| action | Yes | Action to perform. |