pennylane_update_product
Update an existing product's fields—label, price, VAT rate, unit, reference, or ledger account—by ID. Only the supplied fields change, keeping Pennylane records current.
Instructions
Modifie un produit existant. Seuls les champs fournis sont mis à jour.
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": {
"id": "<id>"
},
"name": "pennylane_update_product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Identifiant du produit à modifier. | |
| unit | No | Nouvelle unité. | |
| label | No | Nouveau libellé. | |
| vat_rate | No | Nouveau taux de TVA. | |
| reference | No | Nouvelle référence. | |
| description | No | Nouvelle description. | |
| price_before_tax | No | Nouveau prix HT. | |
| ledger_account_id | No | Nouvel ID de compte comptable. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |