Update 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 →

Update Product

Write
WooCommerce Ecommerce woocommerce/products-update

Update an existing WooCommerce product's price, stock, description, or other attributes.

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 updates a product by dispatching a PUT request through wc/v3/products/{id}, reusing WooCommerce's editable product schema — the same writable fields available on create, such as name, status, prices, SKU, description, categories, and images. The factory that builds this ability explicitly adds and requires an 'id' field so the target product can be identified, stripping it off the input before building the REST route. The response returns the updated product record.

See it in action

You ask your AI assistant

"Update product 482 to set its sale price to $19.99 and mark it as out of stock."

Inputs

Name Type Required Description
id integer Yes Unique identifier of the product to update.
regular_price string No Product regular price.
sale_price string No Product sale price.
sku string No Unique SKU identifier for the product.
status string No Product status (post status).
description string No Full product description.
short_description string No Short product description.
featured boolean No Whether the product is featured.

Returns

The updated product object reflecting the applied changes.

Permission

Registered as a write (PUT) operation. 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.