Order history
order_historyRetrieve an order’s chronological state history, including payment and delivery transitions, actions, and who triggered them, to see what happened and when.
Instructions
The state history of one order: every order, payment and delivery transition in chronological order with the previous and new state, the action name and who triggered it (admin user, API integration or the system). Use it for 'what happened to this order and when?'. Orders imported without transitions have an empty history. When there are more transitions than limit, the newest ones are kept. Returns { orderId, orderNumber, orderDate, total, entries[], note? }.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "order_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| orderId | No | Order UUID | |
| orderNumber | No | Order number as shown to the customer |