Update product
update_productUpdate fields on an existing catalog product by id — including status, to publish a draft or archive a product. Provide a patch with at least one field; use get_product first to see the current values. A changed stock number is applied as a relative movement and recorded in the product stock history; prefer adjust_stock when the intent is a correction with a reason. A change to price, stock, tracking or status is pushed to every connected sales channel. The result echoes the operating workspace.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The product id returned by search_products. | |
| patch | Yes | The product fields to update; include at least one changed field. |