Get order status
get_order_statusRetrieve a customer's order status, date, totals, line items, and tracking using a session ID from login. Optionally pass an order number to fetch a single order, otherwise recent orders are returned.
Instructions
Look up the logged-in customer's orders (status, date, totals, line items, tracking) using a session_id from login. Optionally pass an order_number to fetch a single order; otherwise the most recent orders are returned.
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": {
"session_id": "<session_id>"
},
"name": "get_order_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageSize | No | How many recent orders to return when no order_number is given. | |
| session_id | Yes | The session_id returned by login. | |
| order_number | No | Optional order number (e.g. '000000001') to look up a single order. Omit to list the customer's most recent orders. |