Update an order
update_checkoutChoose local_delivery or ship_to_home, or change the quantity, address or contact details of an order started with create_checkout. Call with only checkout_id to re-read it. Returns the order total once a delivery option is chosen.
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 |
|---|---|---|---|
| buyer | No | ||
| quantity | No | ||
| checkout_id | Yes | ||
| idempotency_key | No | Optional. Reuse the same value to retry safely; the retry returns the first result instead of acting twice. | |
| delivery_address | No | ||
| fulfillment_mode | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | incomplete, ready_for_complete, requires_escalation, completed or canceled. | |
| totals | Yes | ||
| currency | No | ||
| messages | Yes | ||
| order_id | No | ||
| next_step | Yes | ||
| expires_at | No | ||
| line_items | No | ||
| checkout_id | Yes | ||
| reason_code | No | ||
| continue_url | No | Present when the shopper should finish on JENNi instead. | |
| fulfilled_by | Yes | ||
| fulfillment_options | Yes | ||
| selected_fulfillment_mode | No |