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
WriteUpdate 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.
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.
Delete Product
Permanently delete a product from the WooCommerce catalog.
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.