update_product
Update an existing product by passing its ID and only the fields to change. Adjust price and stock via variations, and use hosted CDN image URLs for new images.
Instructions
Update an existing product. Pass product_id + only the fields to change. To change price/stock, pass variations (get_product first to see the existing variation shape). Images must be hosted CDN urls (search_images cdn_url / upload_images).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New name | |
| images | No | New hosted image URLs; first becomes the thumbnail | |
| product_id | Yes | Product id to update | |
| variations | No | Replace variations (price/stock/SKU per variant). Reuse existing custom_ids from get_product to edit in place. | |
| description | No | New description (HTML allowed) | |
| category_ids | No | Replace the product's categories | |
| is_published | No | Publish/unpublish the product |