wp_update_product
Update WooCommerce product details while automatically creating a snapshot before changes, enabling rollback if needed.
Instructions
Update a WooCommerce product (creates snapshot before update)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| sku | No | ||
| name | No | ||
| slug | No | ||
| status | No | ||
| featured | No | ||
| sale_price | No | ||
| description | No | ||
| manage_stock | No | ||
| stock_status | No | ||
| regular_price | No | ||
| stock_quantity | No | ||
| short_description | No |