Execute order
order_executeHandoff or autonomous checkout. Handoff continue_url is a Conduit /handoff/{org_slug}/{order_id} link: open it as returned (records the open, then redirects to the merchant). Autonomous needs badge payable_now (covering mandate fits). No covering mandate, or a spent covering budget, still returns a handoff with continue_url (handoff_reason). Use idempotency_key. Prefer supply_delivery when only comparing delivery.
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": {
"agent_id": "<agent_id>",
"supply_id": "<supply_id>"
},
"name": "order_execute"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| carrier | No | The shipping rate to buy, as the option's own `title` from supply_delivery. Conduit selects it on the merchant checkout, so the buyer opens the page on that rate instead of the merchant's default, which is the cheapest one. A title the merchant does not quote for this address leaves its default in place, and the response says so via shipping_selected. | |
| agent_id | Yes | Owning agent id | |
| pay_with | No | Rail key to pay with when multiple are enabled | |
| quantity | No | Units to buy (default 1) | |
| search_id | No | search_id from supply_search for correlation | |
| supply_id | Yes | Offer supply id to purchase | |
| session_token | No | Session token from agent_authenticate — required whenever agent_id is passed | |
| idempotency_key | No | Client idempotency key — reuse to safely retry the same execute | |
| payment_term_id | No | Payment term id from supply_details payment_terms[] (e.g. net 30). Omit to pay immediately |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hint | No | ||
| next | No | ||
| note | No | ||
| error | No | ||
| detail | No | ||
| status | No | ||
| product | No | ||
| order_id | No | ||
| pay_with | No | ||
| quantity | No | ||
| rail_key | No | ||
| supplier | No | ||
| shortfall | No | ||
| simulated | No | ||
| supply_id | No | ||
| bill_total | No | ||
| created_at | No | ||
| continue_url | No | ||
| address_status | No | ||
| bill_breakdown | No | ||
| purchase_draft | No | ||
| supplier_order | No | ||
| handoff_quality | No | ||
| shipping_option | No | ||
| handoff_endpoint | No | ||
| idempotent_replay | No | ||
| shipping_selected | No | ||
| external_checkout_id | No |