Delete product
delete_productDelete or archive a product; hard deletion also removes its variants. If the product is synced to sales channels, unsync or archive it first to prevent orphan listings.
Instructions
Delete (default) or archive a product. Hard delete cascades to variants; if the product is synced to channels, unsync it first to avoid orphan listings — unsync_from_channel for one channel, archive_product for all of them. (sync_to_channel cannot unsync; it only syncs.)
[#020483]
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_uuid": "<product_uuid>"
},
"name": "delete_product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace | No | ||
| archive_only | No | Default false (hard delete). | |
| product_uuid | Yes |