Get order detail
get_orderFull detail for a single order by channel + line-item ID, including the linked return (if any) and channel-specific fields. Money is in minor units (paise for INR). Get the channel + lineItemId from search_orders.
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": {
"channel": "<channel>",
"lineItemId": "<lineItemId>"
},
"name": "get_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel | Yes | Channel code the order belongs to. | |
| lineItemId | Yes | The order's line-item / native primary-key ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order | No | The unified order record. | |
| message | No | ||
| available | No | ||
| linkedReturn | No | The linked return, if any. | |
| linkedSettlement | No |