---
title: "List your orders"
url: https://docs.corefinity.com/api/reference/billing/list-orders
type: endpoint
last_updated: 2026-11-13
feature: order
related:
  - https://docs.corefinity.com/guides/billing/orders.md
  - https://docs.corefinity.com/mcp/tools/corestack_orders_list.md
---
# List your orders

Answers your company's orders for new sites and CoreClusters, newest first, 25 a page, with how many there are
in each state; the company's owner and its billing contacts see every order with who placed it. `kind`,
`user_id` and `search` narrow the rows and the counts alike, and `total` counts every order whatever the
filters. Paged by cursor: send `next_cursor` back as `cursor`; null means the last page.

```http
GET /api/corestack/orders
```

- Scope: `read`
- Two-factor: required on your account (all)
- Rate limit: 120 a minute
- Try it in the console: on

## Query parameters

- `state` (string): Only orders in this state. `open` is in progress or being built; `ended` is cancelled or expired.
- `kind` (string): Only orders for a site, or only orders for a CoreCluster.
- `user_id` (integer): Only orders placed by this person, an `id` from `placers`.
- `search` (string): An order number, a domain or a CoreCluster's name.
- `cursor` (string): The `next_cursor` of the previous answer. Anything that is not a whole number is refused `422` on `cursor`.

## Request

### curl

```bash
curl https://manage.corefinity.com/api/corestack/orders \
  -H "Authorization: Bearer $COREFINITY_TOKEN" \
  -H "Accept: application/json"
```

### PHP

```php
use Illuminate\Support\Facades\Http;

$response = Http::withToken(env('COREFINITY_TOKEN'))
    ->acceptJson()
    ->get('https://manage.corefinity.com/api/corestack/orders');

$data = $response->json();
```

### Node

```javascript
const res = await fetch('https://manage.corefinity.com/api/corestack/orders', {
  method: 'GET',
  headers: {
    Authorization: `Bearer ${process.env.COREFINITY_TOKEN}`,
    Accept: 'application/json',
  },
});

// An answer with no body (204) has nothing to parse.
const text = await res.text();
const data = text && JSON.parse(text);
```

### Python

```python
import os
import requests

res = requests.get(
    "https://manage.corefinity.com/api/corestack/orders",
    headers={
        "Authorization": f"Bearer {os.environ['COREFINITY_TOKEN']}",
        "Accept": "application/json",
    },
)

data = res.json() if res.content else None
```

## Responses

### 200 A page of orders.

```json
{
  "company": {
    "name": "Northwind Digital"
  },
  "counts": {
    "all": 3,
    "completed": 1,
    "ended": 1,
    "failed": 0,
    "open": 1
  },
  "data": [
    {
      "continue_href": null,
      "created_at": "2027-01-18T09:31:00Z",
      "ended_at": null,
      "id": 4227,
      "label": "building",
      "line": "cs",
      "line_label": "CoreStack",
      "mine": true,
      "name": "journal.harbourandfinch.example.com",
      "package": "CS2",
      "phase": "requesting",
      "placed_at": "2027-01-18T09:40:00Z",
      "placed_by": {
        "name": "Maya Okafor"
      },
      "platform": "WordPress",
      "reason": "Placed · your site is being requested",
      "region": {
        "key": "uk",
        "label": "United Kingdom"
      },
      "restart_href": null,
      "status_href": "/order/status/4227",
      "step": null,
      "step_label": null,
      "target": null,
      "trial_ends_at": null,
      "vat": {
        "check_open": false,
        "kind": null,
        "status": null
      }
    },
    {
      "continue_href": null,
      "created_at": "2027-01-10T10:48:00Z",
      "ended_at": "2027-01-10T11:20:00Z",
      "id": 4218,
      "label": "completed",
      "line": "cc",
      "line_label": "CoreCluster",
      "mine": true,
      "name": "Northwind UK 1",
      "package": "CC8",
      "phase": null,
      "placed_at": "2027-01-10T11:02:00Z",
      "placed_by": {
        "name": "Maya Okafor"
      },
      "platform": null,
      "reason": "Completed on 10 Jan 2027",
      "region": {
        "key": "uk",
        "label": "United Kingdom"
      },
      "restart_href": null,
      "status_href": "/order/status/4218",
      "step": null,
      "step_label": null,
      "target": {
        "href": "/managed-clusters/clusters/1017",
        "kind": "cluster",
        "name": "Northwind UK 1"
      },
      "trial_ends_at": null,
      "vat": {
        "check_open": false,
        "kind": null,
        "status": null
      }
    },
    {
      "continue_href": null,
      "created_at": "2027-01-04T08:00:00Z",
      "ended_at": "2027-01-05T08:00:00Z",
      "id": 4209,
      "label": "expired",
      "line": "cs",
      "line_label": "CoreStack",
      "mine": true,
      "name": "harbourandfinch.example.com",
      "package": "CS2",
      "phase": null,
      "placed_at": null,
      "placed_by": {
        "name": "Maya Okafor"
      },
      "platform": "WordPress",
      "reason": "Not placed before it expired",
      "region": {
        "key": "uk",
        "label": "United Kingdom"
      },
      "restart_href": "/order?package=CS2&platform=wordpress&region=uk&currency=GBP&new=1",
      "status_href": "/order/status/4209",
      "step": null,
      "step_label": null,
      "target": null,
      "trial_ends_at": null,
      "vat": {
        "check_open": false,
        "kind": null,
        "status": null
      }
    }
  ],
  "next_cursor": null,
  "placers": [
    {
      "id": 2051,
      "name": "Maya Okafor"
    }
  ],
  "start_href": "/order?new=1",
  "total": 3
}
```

### 401 No token, or a token that is not valid.

```json
{
  "message": "Unauthenticated."
}
```

### 403 The token lacks the `read` scope (`scope_required`), your company requires two-factor authentication and you have not set it up (`two_factor_required`), or you may not see your company's orders (`orders_forbidden`).

```json
{
  "code": "company_unavailable",
  "message": "Your company is unavailable.",
  "reason": "company_unavailable"
}
```

### 404 The feature is not on for your company.

```json
{
  "code": "feature_off",
  "message": "Not found.",
  "reason": "feature_off"
}
```

### 422 A filter is wrong (`invalid`); `field` names it.

```json
{
  "code": "invalid",
  "errors": {
    "cursor": [
      "The cursor format is invalid."
    ]
  },
  "field": "cursor",
  "message": "The cursor format is invalid.",
  "reason": "invalid"
}
```

### 429 Too many requests (`rate_limited`). Wait for the number of seconds in `Retry-After`, which `retry_after_seconds` repeats.

```json
{
  "code": "rate_limited",
  "message": "Too many requests. Try again in 60 seconds.",
  "reason": "rate_limited",
  "retry_after_seconds": 60
}
```

## If it is refused

| Status | Reason | What to do |
|---|---|---|
| 401 |  | Send a valid token as `Authorization: Bearer <token>`. |
| 403 | `company_unavailable` | Your company is unavailable. |
| 403 | `orders_forbidden` | Orders are for the organisation's owner and people with a billing role. Ask one of them. |
| 403 | `scope_required` | Use a token with the scope named in `scope`. |
| 403 | `two_factor_required` | Turn on two-factor on your account, then send again. |
| 404 | `feature_off` | This feature is not on for your organisation yet. |
| 422 | `invalid` | Fix the field named in `field`; `errors` says why. |
| 429 | `rate_limited` | Wait for the seconds in `Retry-After`. |

## The same task elsewhere

- Guide: [Orders](https://docs.corefinity.com/guides/billing/orders.md)
- MCP tool: [`corestack_orders_list`](https://docs.corefinity.com/mcp/tools/corestack_orders_list.md)
