Bulk delete products
bulk_delete_productsPermanently delete selected product records in bulk while skipping products referenced by open orders or page blocks; use filters or IDs, and start a bulk job when more than 1000 match.
Instructions
Bulk-delete selected product records permanently. A product still referenced by an open order or a page block is skipped rather than deleted; each entry of skipped carries its reason. With allMatching the call is refused when more than 1000 products match: use start_bulk_delete_products for that.
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": {
"modelId": "<modelId>",
"selection": "<selection>"
},
"name": "bulk_delete_products"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| modelId | Yes | The product model's id or slug (from list_models) | |
| selection | Yes |