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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"productId": "<productId>"
},
"name": "hub_update_product"
}
}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 |