woo_update_product
Update selected WooCommerce product fields such as price, stock, status, descriptions, categories, tags, and metadata without changing product type, images, or attributes.
Instructions
Update a WooCommerce product; only the given fields change (type, images and attributes cannot be changed here)
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": {
"site": "<site>",
"id": "<id>"
},
"name": "woo_update_product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Product ID | |
| sku | No | SKU (must be unique) | |
| name | No | Product name | |
| site | Yes | Site id (see list_sites) | |
| tags | No | Product tag IDs (replaces the current set) | |
| status | No | Status | |
| meta_data | No | Custom meta to set (merged) | |
| categories | No | Product category IDs (replaces the current set) | |
| sale_price | No | Sale price as decimal string ("" removes the sale price) | |
| description | No | Long description (HTML) | |
| manage_stock | No | Track stock quantity | |
| stock_status | No | Stock status | |
| regular_price | No | Regular price as decimal string, e.g. "19.90" | |
| stock_quantity | No | Stock quantity | |
| short_description | No | Short description (HTML) |