Update product
hub_update_productChange fields on an existing product. Takes the product ID — get it from get_products, never guess. Only the fields you pass are changed. Prices are HUMAN strings like "24.99". Variant fields (price, sku, barcode): for a product with several variants use variants with the ids from get_products; plain price/sku/barcode work only when there is exactly one variant.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sku | No | New SKU, only for a single-variant product | |
| name | No | ||
| price | No | New price, only for a single-variant product | |
| status | No | e.g. "active" or "draft" | |
| barcode | No | New barcode, only for a single-variant product | |
| variants | No | Per-variant changes; ids and labels come from the variants list in get_products | |
| outletIds | No | ||
| productId | Yes | Product id from get_products — not a name | |
| categoryIds | No | ||
| description | No | ||
| shortDescription | No |