Confirm order
confirm_orderConfirm a DRAFT order to send it into production at the fulfillment provider. Only works for orders in "draft" status that have already been submitted to a provider (have a provider order id).
Instructions
Confirm a DRAFT order to send it into production at the fulfillment provider. Only works for orders in "draft" status that have already been submitted to a provider (have a provider order id). Use after submit_order_to_fulfillment on a "prepare, then I confirm" store. Toolbox POD: confirming is what PAYS for the order, charged to the card on the merchant's own Toolbox POD account within the spending limit they set when connecting; with no spending limit on, the order waits for the merchant to pay. Once paid it is final (cancellation is usually not possible). If the result carries hold_details, the order was NOT confirmed: read get_order_details guidance. Also the recovery for a PROVIDER-FAILED order (get_order_details shows needs_attention.kind = provider_failed with recovery_action = resubmit_to_fulfillment): once the merchant has fixed the cause named in needs_attention.reason on their provider account, this confirms the SAME provider order again, never a second one, so nothing is charged twice; resubmitted: true in the result means it took and polling resumes. If the provider refuses again the tool fails with provider_refused carrying the provider's reason: do not retry, report it. A conflict with order_already_submitted_to_provider on a cancelled order means the merchant cancelled it after the failure; it cannot be resubmitted.
[#d8022b]
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": {
"order_uuid": "<order_uuid>"
},
"name": "confirm_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace | No | Workspace uuid to scope to (agency accounts). Omit for Default. | |
| order_uuid | Yes | The order uuid (from list_my_orders / get_order_details). |