Skip to main content

Maintain an order

Use this workflow to change an order while it is still editable, then seal it when the commercial details are ready.

Prompt

Update draft order <ORDER_ID> with number WEB-1042, then finalize it without executing payment. Confirm each operation separately, stop if either step fails, and report the final order and payment statuses.

The agent uses update_order and finalize_order. Each tool describes the exact consequence before confirmation.

Sample response

Order updated and finalized

Each confirmed action keeps its own result, followed by the final authoritative state.

Status summary
Order
WEB-1042
ord_example_1042
Order status
Finalized
Payment status
Not started
OperationResult
Update order numberSucceeded
Finalize orderSucceeded

Illustrative values. The exact presentation depends on the MCP client.

Finalizing an order does not mark it paid and does not record an offline payment. If the order must be charged, use the separate Take payment for an order workflow.