Delete bundle
delete_bundleDeletes a bundle and its discount. It disappears from product pages at once. Confirm with the merchant first; set_bundle_status off keeps it for later instead. A bundle that is on goes in two steps: the first call deletes nothing and returns a confirm_token; call again with it once the merchant said yes. undo_change can bring a deleted bundle back, switched off, for 30 days.
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": "delete_bundle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Bundle id from list_bundles. | |
| confirm_token | No | For a bundle that is on: the token from the first call, once the merchant said yes. |