update_order
Update an existing order in Bexio to modify its details, such as contact, addresses, tax settings, and document information.
Instructions
Edit an order
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": {
"order_id": "<order_id>"
},
"name": "update_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | ||
| footer | No | ||
| header | No | ||
| user_id | No | References a [user object](#operation/v3ListUsers) | |
| order_id | Yes | the id of the order | |
| mwst_type | No | | value | description | |-----|------| | 0 | including taxes | | 1 | excluding taxes | | 2 | exempt from taxes | | |
| contact_id | No | References a [contact object](#operation/v2ListContacts) | |
| currency_id | No | References a [currency object](#operation/ListCurrencies) | |
| document_nr | No | Can not be used if “automatic numbering” is activated in frontend-settings. Required if “automatic numbering” deactivated. https://help.bexio.com/s/article/000001784 | |
| language_id | No | References a [language object](#operation/v2ListLanguages) | |
| mwst_is_net | No | This value affects the total if the field `mwst_type` has been set to 0.<br> `false` = Taxes are included in the total<br> `true` = Taxes will be added to the total | |
| logopaper_id | No | ||
| api_reference | No | This field can only be read and edited by the api. It can be used to save references to other systems. | |
| is_valid_from | No | ||
| pr_project_id | No | References a [project object](#operation/v2ListProjects) | |
| template_slug | No | References a [document template slug](#operation/v3ListDocumentTemplate) | |
| contact_sub_id | No | References a [contact object](#operation/v2ListContacts) | |
| bank_account_id | No | References a [bank account object](#operation/ListBankAccounts) | |
| payment_type_id | No | References a [payment type object](#operation/v2ListPaymentTypes) | |
| show_position_taxes | No | ||
| delivery_address_type | No | | value | description | |-------|-------------| | 0 | use invoice address | | 1 | use custom address | | |
| contact_address_manual | No | This field can be used to set a contact address manually. If not in use or `null` the invoice address of the contact will be taken. | |
| delivery_address_manual | No | This field can be used to set a delivery address manually if `delivery_address_type` is set to `1`. If not in use or `null` the invoice address will be taken. |