Get an order
getOrderRetrieves a single order by ID, returning customer email, items, total, status, and creation date; use it to inspect order details or verify payment or refund status.
Instructions
Gets one order by its id: customer email, items (sku, qty, priceCents), totalCents, status (open, paid or refunded) and createdAt. Returns the API's 404 when there's no such order; use listOrders to find ids. Calls need the Orders API key (x-api-key header; the demo's is demo-customer-key-0001); without it the tool returns the API's 401.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The order's id, such as ord_1002, as listOrders returns it. |