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).
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 |