# List outstanding server orders

`GET https://console.advinservers.com/api/v1/client/servers/orders`

### Overview

Lists outstanding server orders in the current team. Once an order is paid and the server is created, the order leaves this list and the server appears in the server list. The order's `server_id` identifies that server. `enabled` is false when server ordering is unavailable.

### Permissions

Requires the `server.read` (View servers) permission for the selected team. Resources outside that team return 404.

## Authorization

Send `Authorization: Bearer <token>` with the request. Your API key, sent as a bearer token. Create one in the control panel under API Keys, give it only the permissions the integration needs, and copy it when it is created. It cannot be shown again. Each key is restricted to one owned team. The key determines the team for every request.

## Response 200

The record, as a JSON object. There is no envelope.

- `enabled` (boolean, required): The value of `enabled`.
- `items` (object[], required): Outstanding orders with their plans, prices, payment deadlines and status.
  - `uuid` (string, required): The uuid UUID.
  - `uuid_short` (string, required): The value of `uuid_short`.
  - `purchase_uuid` (string | null, required): The checkout this machine was bought in, shared with every other machine ordered at the same time.
  - `purchase_status` (string | null, required): The purchase status, or null for an order without a purchase record. One of: `pending`, `needs_funds`, `paid`, `refused`, `expired`, `cancelled`, `null`.
  - `status` (string, required): The value of `status`. One of: `pending_payment`, `provisioning`, `configuring`, `completed`, `expired`, `payment_review`, `failed`, `cancelled`.
  - `status_label` (string, required): The value of `status_label`.
  - `is_placed` (boolean, required): Whether the billing system has taken and been paid for this order, which is what separates "still placing" from "being built".
  - `progress_message` (string | null, required): The value of `progress_message`.
  - `plan_name` (string, required): The value of `plan_name`.
  - `plan_key` (string, required): The value of `plan_key`.
  - `vcpu_cores` (integer, required): The value of `vcpu_cores`.
  - `memory` (integer, required): The value of `memory`.
  - `disk` (integer, required): The value of `disk`.
  - `bandwidth` (integer, required): The value of `bandwidth`.
  - `hdd` (boolean, required): The value of `hdd`.
  - `location` (string | null, required): The value of `location`.
  - `location_id` (integer | null, required): The location id ID.
  - `group_name` (string | null, required): The value of `group_name`.
  - `hostname` (string, required): The fully qualified hostname.
  - `label` (string | null, required): A short label shown to customers.
  - `template_name` (string | null, required): The value of `template_name`.
  - `template_icon_url` (string | null, required): The value of `template_icon_url`.
  - `billing` (object, required): The value of `billing`.
    - `service_id` (integer | null, required): The customer's service number, once a recurring service exists.
    - `invoice_id` (integer | null, required): The customer's invoice number, once an invoice exists.
    - `invoice_url` (string | null, required): A complete URL where the invoice can be paid.
    - `checkout_uuid` (string | null, required): The checkout UUID, or null when no checkout is available.
    - `checkout_uuid_short` (string | null, required): The value of `checkout_uuid_short`.
    - `invoice_status` (string | null, required): The current invoice status, or null before an invoice exists.
    - `amount` (string | null, required): The amount in the currency shown by `currency`.
    - `currency` (string | null, required): The three-letter currency code used for `amount`.
    - `billing_cycle` (string | null, required): How often the service renews, or null for a one-time charge.
    - `payment_due_at` (string | null, required): When payment is due before the reservation is released.
    - `payment_window_minutes` (integer | null, required): How many minutes the original payment window allowed.
    - `paid_at` (string | null, required): When the charge was paid, or null while payment is outstanding.
  - `server_id` (string | null, required): The installed server's short ID, or null until installation finishes.
  - `can_cancel` (boolean, required): Whether the customer can cancel.
  - `created_at` (string | null, required): The date and time for created at, in UTC.

```json
{
  "enabled": true,
  "items": [
    {
      "uuid": "0e6a7712-98ab-451b-8675-5c5ae96e4d3a",
      "uuid_short": "Uuid short",
      "purchase_uuid": "a930b81e-663e-4e12-a437-001f207d5ac6",
      "purchase_status": "needs_funds",
      "status": "pending_payment",
      "status_label": "Needs funds",
      "is_placed": false,
      "progress_message": "Your balance is 2.00 USD short of the 12.00 USD this order costs. Add funds to continue.",
      "plan_name": "Standard 4 GB",
      "plan_key": "032f97c3b0f718ae9a2edfba83d5adf321025b5d9af1e90d397e79b8667bb3a4",
      "vcpu_cores": 4,
      "memory": 4000,
      "disk": 80,
      "bandwidth": 5000,
      "hdd": false,
      "location": "Kansas City, MO",
      "location_id": 3,
      "group_name": "Standard VPS",
      "hostname": "hev-telemetry.blackmesa.example.com",
      "label": "hev-telemetry",
      "template_name": "Ubuntu 24.04",
      "template_icon_url": "/assets/icons/ubuntu.png",
      "billing": {
        "service_id": null,
        "invoice_id": null,
        "invoice_url": null,
        "checkout_uuid": null,
        "invoice_status": null,
        "amount": "12.00",
        "currency": "USD",
        "billing_cycle": "monthly",
        "payment_due_at": "2026-09-14T17:01:47+00:00",
        "payment_window_minutes": 30,
        "paid_at": null
      },
      "server_id": null,
      "can_cancel": true,
      "created_at": "2026-09-14T16:31:47+00:00"
    }
  ]
}
```

## Errors

- `401`: The key was missing, malformed, revoked, or belongs to an account that no longer exists.
- `403`: Access denied. Check the key's team, permissions and allowed IP addresses. Some actions, such as managing API keys, require a browser session. The response message explains the reason.
- `429`: Too many requests. The `Retry-After` header says how many seconds to wait. Limits are per account, so several keys on one account share them.

## Example request

```bash
curl --request GET \
  --url 'https://console.advinservers.com/api/v1/client/servers/orders' \
  --header 'Authorization: Bearer <token>' \
  --header 'Accept: application/json'
```
