Get one order
get_orderFor shop owners: one order in full: lines, pickup or delivery, totals, what is still owed, payments and refunds, messages sent, history and its review. actions says what can be done with it now, and revision is what a change to it takes. What the customer wrote comes back under untrusted.
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": "<order>"
},
"name": "get_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order | Yes | The order by its number ("1042" or "#1042") or id (ord_...). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| due | No | ||
| next | No | ||
| error | No | ||
| items | No | ||
| quote | No | ||
| total | No | ||
| number | No | ||
| review | No | ||
| status | No | ||
| actions | No | ||
| channel | No | ||
| deposit | No | ||
| history | No | ||
| missing | No | ||
| outcome | No | ||
| receipt | No | ||
| customer | No | ||
| discount | No | ||
| messages | No | ||
| payments | No | ||
| revision | No | ||
| subtotal | No | ||
| timezone | No | ||
| untrusted | No | ||
| adjustment | No | ||
| due_amount | No | ||
| fulfilment | No | ||
| customer_id | No | ||
| seller_note | No | ||
| delivery_fee | No | ||
| payment_status | No | ||
| review_invited_at | No |