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.
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. |