Delete Product is a WordPress ability from WooCommerce — usable via Easy MCP AI, which connects Claude, ChatGPT, and any AI assistant to your site.
Install Free Plugin →Delete Product
WritePermanently delete a product from the WooCommerce catalog.
Requires the WooCommerce plugin active on WordPress 6.9+, with the experimental 'mcp_integration' feature flag enabled (WooCommerce > Settings > Advanced > Features). Abilities are only registered for requests hitting WooCommerce's own /woocommerce/mcp REST endpoint, and each request must authenticate with a WooCommerce REST API key (consumer_key:consumer_secret) sent via the X-MCP-API-Key header over HTTPS — the key's read/write permission scope must match the HTTP method used.
What it does
This ability deletes a product by dispatching a DELETE request to wc/v3/products/{id}. It takes a single required 'id' input identifying the product to remove; WooCommerce's own configuration for this ability describes the action as one that 'cannot be undone.' Note that WooCommerce's ability factory does not attach a 'destructive' annotation to this operation (only 'list' and 'get' operations receive a 'readonly' annotation) — the delete call is still routed through the standard write/read_write permission scope. The response confirms whether the deletion succeeded and includes a snapshot of the product as it existed immediately before deletion.
See it in action
You ask your AI assistant
"Delete product ID 482 from the store — it's discontinued."
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
| id | integer | Yes | Unique identifier of the product to delete. |
Returns
An object with a 'deleted' boolean flag and a 'previous' field containing the product's data as it was before deletion.
Permission
Registered as a write (DELETE) operation with no distinct destructive annotation in WooCommerce's ability registration. Requires a WooCommerce REST API key sent via the X-MCP-API-Key header over HTTPS with 'write' or 'read_write' permission scope.
More WooCommerce abilities
Create Order
Create a new WooCommerce order with customer, billing/shipping, and line item details.
Create Product
Create a new WooCommerce product with a name, price, description, and other catalog attributes.
Get Order
Fetch full details for a single WooCommerce order by its ID.
Get Product
Fetch full details for a single WooCommerce product by its ID.
List Orders
List and filter WooCommerce orders by status, customer, product, or date range.
List Products
List and filter your WooCommerce product catalog with paging, search, and attribute-based filters.