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

Write
WooCommerce Ecommerce woocommerce/products-delete

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

Newsletter

The AI + WordPress space moves fast. Keep up.

New tools, workflow ideas, and product updates — be the first to know what's next.

No spam, unsubscribe anytime.