> For the complete Lynkow documentation index in agent-friendly format, see [llms.txt](/llms.txt).

# List the current customer's orders

**Published**: 2026-11-30
**Category**: Commerce

## `GET /customers/me/orders`

**List the current customer's orders**

Lists the signed-in buyer's orders on this site, newest first, in
every status including `cancelled`. Send `X-Lynkow-Pk` and
`Authorization: Bearer <customer-session-token>`. A buyer with a
verified email sees every order linked to their account. Until the
email is verified, the list holds only the orders placed while signed
in: a guest order linked to the account by its email appears once the
address is confirmed. Each order's `shipments` lists the parcels sent,
each with its carrier and tracking link, cancelled parcels left out.
The site must have order history and customer accounts turned on.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `page` | query | integer (min 1) | No | Page to return. |
| `limit` | query | integer (1 to 100) | No | Orders per page, 20 when omitted. |


### Responses

| Status | Description |
| --- | --- |
| `200` | Successful response |
| `401` | Missing or invalid storefront publishable key or customer session token |
| `402` | The site subscription does not currently permit this operation |
| `403` | The storefront key origin is not allowed |
| `404` | Site, resource, or commerce feature not found |
| `422` | `page` is below 1, or `limit` is below 1 or above 100. |


> **Notes:** Returns 401 without a valid customer session, and 422 for a `limit`
> above 100.

### SDK

```typescript
import { createClient } from 'lynkow'

const lynkow = createClient({
  siteId: process.env.LYNKOW_SITE_ID!,
  publishableKey: process.env.LYNKOW_PK,
})

const { data: orders, meta } = await lynkow.customers.orders({ page: 1, limit: 10 })
for (const order of orders) {
  console.log(`#${order.orderNumber}: ${order.status}, ${order.totalCents} ${order.currency}`)
}
const hasMore = meta.currentPage < meta.lastPage
```

### Examples

```javascript
const res = await fetch(`https://api.lynkow.com/storefront/${siteId}/customers/me/orders?page=1&limit=20`, {
  headers: {
    'X-Lynkow-Pk': 'lkw_pk_...',
    Authorization: `Bearer ${customerSessionToken}`,
  },
})
const { data, meta } = await res.json()
```

---