update_offer
Change a quote. Required: offer_id. Optional: lines (replaces all of them; unit_price in MAIN units — 100 = 100,00 € — or unit_price_minor in cents; a line without vat_rate gets the recipient's default), title, recipient, address, intro, outro, valid_until, status, country, language, tax_note, currency. Totals are always recomputed from the lines — a total that disagrees with its own lines is never stored. A quote that has been sent refuses line changes unless force=true, because the customer is holding the old figures. The answer gives every amount in main units, *_minor in cents, and printed in the recipient's format.
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": {
"offer_id": "<offer_id>"
},
"name": "update_offer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | true allows line changes on a quote that was already sent | |
| intro | No | Introductory text printed above the positions | |
| lines | No | New positions; replaces all existing lines of the quote | |
| outro | No | Closing text printed below the positions | |
| title | No | Title of the offer | |
| status | No | New status | |
| address | No | Postal address | |
| country | No | Country (ISO code or name) | |
| currency | No | Currency code (ISO 4217, e.g. EUR) | |
| language | No | Language code (e.g. de, en) | |
| offer_id | Yes | ID of the offer to change | |
| tax_note | No | Tax note printed on the quote (e.g. reverse charge text) | |
| recipient | No | Recipient name on the quote | |
| valid_until | No | Date until which the quote is valid (YYYY-MM-DD) |