set_thirdparty_discount
Set a permanent discount percentage for a customer in Dolibarr. Update or remove (0%) the standard sales discount applied to a third party.
Instructions
Définir la remise commerciale permanente d'un client (en %)
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": {
"thirdparty_id": "<thirdparty_id>",
"discount_percent": "<discount_percent>"
},
"name": "set_thirdparty_discount"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| thirdparty_id | Yes | ||
| discount_percent | Yes | Remise en % (ex: 10 pour 10%). 0 pour supprimer. |