woo_update_price
ACTION on the WooCommerce store. Changes regular_price and/or sale_price (or clears the sale with clear_sale_price=true) of one product or variation. Changes beyond the safety limit (default ±50% vs the current price) are refused. Returns before → after. In safe mode the first call returns a PREVIEW with confirm_id: show it and call again with confirm_id only after the user approves.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| store_id | Yes | ||
| confirm_id | No | Token di conferma ritornato dall'anteprima. Ripassa lo STESSO payload + confirm_id per eseguire davvero la scrittura. | |
| product_id | Yes | ||
| sale_price | No | ||
| variation_id | No | ||
| regular_price | No | ||
| clear_sale_price | No |