update_offer
Update an existing offer by providing its ID and any fields to modify. Specify changes for details like dates, prices, positions, or notes.
Instructions
Updates specified offer
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 |
|---|---|---|---|
| offer_id | Yes | offer ID | |
| number | No | unique number | |
| contact_id | No | id of a contact | |
| contact_address_id | No | id of a contact's address | |
| contact_prepage_address_id | No | id of a contact's prepage address | |
| contact_person_id | No | id of a contact's person | |
| date | No | date of the offer | |
| valid_until | No | date that offer is valid until | |
| period_text | No | service/delivery | |
| currency | No | currency (e.g. CHF, EUR) | |
| vat_included | No | whether prices in offer include VAT | |
| discount_rate | No | optional discount rate | |
| discount_type | No | optional discount type; possible values: A - amount, P - in % | |
| accept_online | No | whether offer can be accepted online | |
| language | No | language; possible values: de, en, es, fr, it | |
| signature_id | No | signature id | |
| layout_id | No | layout id | |
| notes | No | optional notes | |
| custom_fields | No | custom fields values | |
| positions | No | positions objects | |
| texts | No | texts objects | |
| free_texts | No | free texts objects |