update_checkout
Replace a checkout with new line items, buyer, discount code and shipping. Full replacement: send everything you want to keep. Applies to Angeo Demo Store only.
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": {
"meta": "<meta>",
"id": "<id>",
"checkout": "<checkout>"
},
"name": "update_checkout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Checkout id (chk_…) | |
| meta | Yes | UCP request metadata. | |
| checkout | Yes | Checkout body as in the UCP REST binding: line_items[{item:{id}, quantity}], buyer{email, first_name, last_name, phone_number}, discounts{codes[]}, fulfillment{methods[{type:"shipping", destinations[address], groups[{selected_option_id}]}]}. |