Change a prepared order
update_checkoutChange an order prepared with create_checkout before the person confirms it: send only what changes (items replace the whole list). Returns the same as create_checkout.
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": {
"checkout_id": "<checkout_id>"
},
"name": "update_checkout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Language of names and descriptions: cs (Czech), en, ru, uk, vi. | cs |
| note | No | ||
| buyer | No | The person the order is for, as they told you. Leave out what you do not know. | |
| items | No | ||
| address | No | Delivery address in the Czech Republic (not needed for pickup). | |
| payment | No | Optional preselection; the person can change it. comgate = card, Apple Pay, Google Pay. cash only on pickup. | |
| delivery | No | A method code from delivery_options; for the Prague courier also a window key from its windows; for pickup the pickup point name. | |
| checkout_id | Yes | checkout_id from create_checkout. |