update_product
Update an existing product's details including name, price, category, and other fields by providing the product ID.
Instructions
Updates specified product
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": {
"product_id": "<product_id>"
},
"name": "update_product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product_id | Yes | product ID | |
| number | No | Number | |
| name | No | Name | |
| description | No | Description | |
| notes | No | Notes | |
| category_id | No | Category id | |
| including_vat | No | Including vat | |
| vat | No | Vat | |
| unit_id | No | Unit id | |
| price | No | Price | |
| price_purchase | No | Price purchase | |
| default_amount | No | Default amount | |
| custom_fields | No | custom fields values |