get_order
Retrieve complete details for a single order—line items, customer, payments with failure codes, refunds, masked license keys, and a merged timeline—to investigate orders or failed payments.
Instructions
Everything about one order: line items, the customer, payments (with the provider's failure_code and failure_message when a payment failed), refunds, license keys (masked) and a timeline merged from the audit log, payments, refunds and payment-provider webhooks. Start here to investigate an order or a failed payment.
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_id": "<order_id>"
},
"name": "get_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_id | Yes | The order number as customers and admins see it, e.g. "SF-10042", or the numeric order id. |