update_product
Update existing product details in Dolibarr ERP, including price, description, tax rate, and active status. Provide product ID and changed fields to apply modifications.
Instructions
Modifier un produit existant (prix, description, stat d'active, etc.)
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": "update_product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID du produit | |
| label | No | ||
| price | No | Nouveau prix HT | |
| status | No | 1=Actif (en vente), 0=Inactif | |
| tva_tx | No | Nouveau taux TVA % | |
| description | No |