gold_update_product
Update a WooCommerce product by ID with fields such as name, SKU, prices, stock, and status via the REST API. Requires CONFIRM to execute.
Instructions
Gold PRO $29: update Woo product via PUT /wp-json/wc/v3/products/{id} — BYOK fail-closed.
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": {
"id": "<id>"
},
"name": "gold_update_product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| sku | No | ||
| name | No | ||
| status | No | ||
| confirm | No | must be CONFIRM to execute | |
| categories | No | ||
| sale_price | No | ||
| description | No | ||
| stock_status | No | ||
| regular_price | No | ||
| stock_quantity | No |