Update an order
update_orderFor shop owners: change an order already in the book: edit its lines, time or delivery, mark it ready (or undo that) or complete, record money paid outside Confita, or set her private note. One action a call, at the revision last read. It never accepts, declines or cancels an order or decides a receipt: decide_order does. Nothing waits for her tap, and the customer is not emailed.
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": "<order>",
"revision": "<revision>",
"action": "<action>",
"request_id": "<request_id>"
},
"name": "update_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| due | No | edit: the new pickup or delivery day or time on the shop's clock. For example "2026-12-04T15:00". | |
| note | No | set_note: the seller's note; an empty string clears it. | |
| items | No | edit: the order's whole new list of lines, where one left out is removed and `keep` holds a line by its id; without `items` the lines stay. | |
| order | Yes | The order by its number ("1042" or "#1042") or id (ord_...). | |
| action | Yes | The one change to make; each field below names the action it belongs to. | |
| amount | No | mark_paid: how much was paid, required. For example {"amount": "33.00", "currency": "USD"}; the order's `due_amount` is what is owed. | |
| method | No | mark_paid: how it was paid, required. | |
| address | No | edit: where a delivery goes. | |
| dry_run | No | edit: price and check the edit without saving it. | |
| revision | Yes | The order's `revision` as last read; if the order changed since, nothing happens. | |
| adjustment | No | The seller's own discount and deposit on this order; a field left out keeps its value. | |
| fulfilment | No | edit: switch between pickup and delivery. | |
| request_id | Yes | Unique per call; the same id again returns the first result. | |
| payment_kind | No | mark_paid: left out, a part payment before anything was paid is a deposit, a later one the balance. | |
| override_capacity | No | edit: true when the seller already agreed, past a full day or slot. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| next | No | ||
| error | No | ||
| order | No | ||
| choices | No | ||
| outcome | No | ||
| preview | No | ||
| timezone | No | ||
| untrusted | No | ||
| confirmation | No |