update_contract_discount
Update an existing contract discount by UUID to change its configuration name, percentage, or validity dates.
Instructions
Update an existing discount assigned to a contract. The discount is identified by its UUID. Can modify the discount configuration name, percentage, and validity period.
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": {
"contractNumber": "<contractNumber>",
"discountUUID": "<discountUUID>",
"discountConfigName": "<discountConfigName>"
},
"name": "update_contract_discount"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| validTo | No | The end date of the discount validity in YYYY-MM-DD format. | |
| validFrom | No | The start date of the discount validity in YYYY-MM-DD format. | |
| discountUUID | Yes | The UUID of the discount assignment to update. | |
| contractNumber | Yes | The unique contract number that owns the discount. | |
| discountPercent | No | The discount percentage to apply. | |
| discountConfigName | Yes | The name of the discount configuration. |