Delete PrestaShop Product
ps_delete_productDeletes a PrestaShop product by ID through the Webservice API, requiring delete-enabled access; the shop may soft-delete it by marking it inactive.
Instructions
Delete a product by ID.
⚠️ Requires PS_READONLY=false and DELETE enabled on the PrestaShop Webservice key. Note: PrestaShop may soft-delete (set active=0) depending on shop configuration.
Args:
id: Product ID (required)
confirmation_token: Confirmation token (when PS_CONFIRM_DESTRUCTIVE=true)
Returns: Confirmation of deletion.
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": "ps_delete_product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Product ID | |
| confirmation_token | No | Confirmation token |