create_checkout
Create a checkout at this store from line items (item ids from search or catalog lookup), the buyer and optionally a shipping address and discount code. Returns totals, live shipping options and a continue_url. Payment always happens on the store checkout page. 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>",
"checkout": "<checkout>"
},
"name": "create_checkout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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}]}]}. |