update_product
Modify WooCommerce product details including pricing, inventory, and status. Change specific fields like name, price, stock quantity, or description without updating the entire product.
Instructions
Update a product. Only provide fields you want to change. Set sale_price to empty string to remove sale.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product_id | Yes | ||
| name | No | ||
| regular_price | No | ||
| sale_price | No | ||
| status | No | ||
| stock_quantity | No | ||
| description | No | ||
| sku | No |