Edit a product
update_productChange a product or service. Changes the owner's account.
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": {
"item_id": "<item_id>"
},
"name": "update_product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| unit | No | ||
| price | No | ||
| item_id | Yes | The item id. | |
| brand_id | No | Optional business id from list_brands (default: this connection's business). | |
| category | No | ||
| currency | No | ||
| image_url | No | ||
| is_active | No | ||
| price_kind | No | ||
| description | No | ||
| price_minor | No | ||
| price_max_minor | No | ||
| expected_revision | No |