# GET /api/v1/orders

> List the account's orders

- Group: products
- Tier: R
- Required scope: read:orders
- Docs: https://api.inleed.com/reference/products/list-orders

## Description

Returns `data[]` of orders — each with its `orderId`, `ocr`, `status`, totals, `paidAt`, `paymentUrl` (unpaid only) and `provisioning[]` — plus `hasMore` / `nextCursor`. Defaults to open (unpaid) orders; `status=paid` lists the ones that went through under their new invoice id. For one order's full detail call `get_order`; to cancel an unpaid one, `cancel_order`.

## Query parameters

- `status` — enum. Which orders: open (unpaid proformas, the default), paid (orders that went through — real invoices with paidAt), or all. One of open, paid, all.
- `limit` — integer. Page size for a collection. Range 1–100.
- `cursor` — integer. Opaque pagination cursor. Pass back the previous response’s nextCursor; stop when it is null. Minimum 0.

## Request

```bash
curl -X GET "https://mcp.inleed.com/api/v1/orders?status=open&limit=3&cursor=1" \
  -H "Authorization: Bearer inl_live_…"
```

## Response · 200

```json
{
  "data": [],
  "hasMore": true,
  "nextCursor": "example.se",
  "total": 3
}
```

## Errors

- **401** No token was presented, or the token is revoked, expired or unknown. — codes: unauthorized, token_expired, token_revoked
- **403** The token lacks a required scope, or this account does not own the resource. — codes: insufficient_scope
- **422** Validation error — codes: validation_failed
- **429** The rate limit for this token is exhausted. See `Retry-After`. — codes: rate_limited
- **500** Something went wrong on our side. The failure is logged against `requestId`. — codes: internal_error

## Related

- POST /api/v1/orders — https://api.inleed.com/reference/products/create-order
- GET /api/v1/orders/{order} — https://api.inleed.com/reference/products/get-order
- GET /api/v1/orders/pending — https://api.inleed.com/reference/products/list-pending-orders
- GET /api/v1/orders/addon-suggestions — https://api.inleed.com/reference/products/get-addon-suggestions

