Delete product
delete_productPermanently removes a product and its variants from Medusa; requires exact product title confirmation and can also delete unreserved inventory items.
Instructions
DELETES the product with all its variants. Irreversible – get explicit confirmation from the user before calling. 'confirm_title' must match the product title exactly. By default the inventory items of its variants are deleted too (only those with nothing reserved).
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": {
"product_id": "<product_id>",
"confirm_title": "<confirm_title>"
},
"name": "delete_product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product_id | Yes | ||
| confirm_title | Yes | The exact product title, as a safeguard against deleting the wrong product | |
| delete_inventory_items | No |