---
search:
  tags:
    - Orders
    - GET
seo:
  description: >-
    List orders. Requires start and end. Optional paymentState filters by
    payment status. Newest… Reference for the GET /orders endpoint in the
    scango.ch API.
sidebar:
  label: List orders
  badge: GET
title: List orders
type: openapi-operation
---
List orders. Requires `start` and `end`. Optional `paymentState` filters by payment status. Newest first. Use `limit` and optional `cursor` for pagination. Soft-deleted orders are omitted unless `includeDeleted=true`; those rows are marked `deleted: true`.

`GET /orders`

**Responses**

- `200` — Orders with meta
- `400` — Invalid parameters or body.
- `403` — Missing, unknown or inactive API key, or a Read key on a write operation.

Response example, 200:

```json
{
  "data": [
    {
      "id": "order_01",
      "orderId": "order_01",
      "store": "store_01",
      "price": 4590,
      "paymentState": "successful",
      "orderDate": "2024-04-20T12:00:00.000Z",
      "transactionDate": "2024-04-20T12:00:01.000Z",
      "products": []
    }
  ],
  "meta": {
    "total": 1,
    "returned": 1,
    "limit": 1,
    "nextCursor": "order_02"
  }
}
```

Response example, 400:

```json
{
  "statusCode": 400,
  "message": "Validation failed for Field: name, Error: Required",
  "timestamp": "2024-04-20T12:00:00.000Z",
  "path": "/api/v1/suppliers"
}
```

Response example, 403:

```json
{
  "statusCode": 403,
  "message": "Unknown Error",
  "timestamp": "2024-04-20T12:00:00.000Z",
  "path": "/api/v1/products"
}
```
