---
title: "Orders | Docs | WMS by R&D Copilot"
description: "Announce the orders to pick and read how far each one is picked."
canonical: "https://warehouse.rdcopilot.com/docs/api-reference/orders/"
language: en
updated: 2026-11-22
---

# Orders

Announce the orders to pick and read how far each one is picked.

## List orders

GET `/warehouse/v1/orders`

Returns orders in pages, by number.

### Parameters

| Name | In | Type | Required | Meaning |
| --- | --- | --- | --- | --- |
| `waveNumber` | query | `string` | Nooptional | Only the orders of this wave. |
| `limit` | query | `integer` | Nooptional | Records per page. Default `100` Range `1` – `500` |
| `cursor` | query | `string` | Nooptional | The `nextCursor` of the previous page. |

### Responses

| Status | Meaning | Body |
| --- | --- | --- |
| `200` | A page of records. | `OrderPage` |
| `400` | The request cannot be read or breaks the contract: malformed JSON, a missing or unknown field, a wrong type. `fields` names each one. | `Error` |
| `401` | The token is missing, not valid or has ended. | `Error` |
| `403` | The token does not give access to this company or operation. | `Error` |
| `429` | The request was refused. The `code` is `rate_limited`. | `Error` |
| `503` | The request was refused. The `code` is `unavailable`. | `Error` |

### Request

curl

```bash
curl "$RDC_BASE_URL/warehouse/v1/orders?limit=20" \
  -H "Authorization: Bearer $RDC_TOKEN"
```

JavaScript

```javascript
const response = await fetch(`${process.env.RDC_BASE_URL}/warehouse/v1/orders?limit=20`, {
  method: 'GET',
  headers: {
    Authorization: `Bearer ${process.env.RDC_TOKEN}`,
  },
});
const result = await response.json();
```

Python

```python
import os
import requests

response = requests.request(
    'GET',
    f'{os.environ["RDC_BASE_URL"]}/warehouse/v1/orders?limit=20',
    headers={
        'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
    },
)
result = response.json()
```

PHP

```php
<?php

$curl = curl_init(getenv('RDC_BASE_URL') . '/warehouse/v1/orders?limit=20');
curl_setopt_array($curl, [
    CURLOPT_CUSTOMREQUEST => 'GET',
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => [
        'Authorization: Bearer ' . getenv('RDC_TOKEN'),
    ],
]);
$result = json_decode(curl_exec($curl), true);
curl_close($curl);
```

C#

```csharp
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, $"{Environment.GetEnvironmentVariable("RDC_BASE_URL")}/warehouse/v1/orders?limit=20");
request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("RDC_TOKEN"));
var response = await client.SendAsync(request);
var result = await response.Content.ReadAsStringAsync();
```

### Response `200`

JSON

```json
{
  "items": [
    {
      "id": "a5000000-0000-4000-8000-000000001042",
      "number": "CV-1042",
      "customer": "Hanul Ozana SRL",
      "shipBy": "2026-11-24",
      "waveNumber": "W-0231",
      "tote": "TOTE-014",
      "lines": [
        {
          "sku": "FA-0010",
          "quantity": "24",
          "picked": "24",
          "backorder": "0"
        },
        {
          "sku": "UL-0101",
          "quantity": "60",
          "picked": "48",
          "backorder": "0"
        },
        {
          "sku": "ZA-0201",
          "quantity": "80",
          "picked": "80",
          "backorder": "0"
        },
        {
          "sku": "LA-0307",
          "quantity": "36",
          "picked": "30",
          "backorder": "6"
        },
        {
          "sku": "DT-0412",
          "quantity": "12",
          "picked": "0",
          "backorder": "0"
        },
        {
          "sku": "AM-0518",
          "quantity": "9",
          "picked": "0",
          "backorder": "0"
        }
      ]
    },
    {
      "id": "a5000000-0000-4000-8000-000000001043",
      "number": "CV-1043",
      "customer": "Cofetăria Vălul Alb SRL",
      "shipBy": "2026-11-23",
      "waveNumber": "W-0231",
      "tote": "TOTE-015",
      "lines": [
        {
          "sku": "FA-0010",
          "quantity": "10",
          "picked": "10",
          "backorder": "0"
        },
        {
          "sku": "ZA-0201",
          "quantity": "20",
          "picked": "20",
          "backorder": "0"
        },
        {
          "sku": "LA-0307",
          "quantity": "6",
          "picked": "6",
          "backorder": "0"
        }
      ]
    }
  ],
  "nextCursor": null
}
```

## Announce an order

POST `/warehouse/v1/orders`

Announces an order to pick. It waits without a wave until it is planned into one.

### Request body

| Field | Type | Required | Meaning |
| --- | --- | --- | --- |
| `operationId` | `string (uuid)` | Yesrequired | A UUID you choose for this change. Send it again to repeat the request. |
| `number` | `string` | Yesrequired | Number of the order: capital letters, digits and hyphens, from 3 to 20 characters. It is unique. |
| `customer` | `string` | Yesrequired | Name of the customer, up to 200 characters. |
| `lines` | `object[]` | Yesrequired | The lines: each item once. |
| `lines[].sku` | `string` | Yesrequired | The item. |
| `lines[].quantity` | `string` | Yesrequired | Units asked for, at least 1. |
| `shipBy` | `string (date)` | Yesrequired | The day the order must leave, today or later. |

### Responses

| Status | Meaning | Body |
| --- | --- | --- |
| `202` | The change was accepted. The body is the operation result. | `OperationResult` |
| `400` | The request cannot be read or breaks the contract: malformed JSON, a missing or unknown field, a wrong type. `fields` names each one. | `Error` |
| `401` | The token is missing, not valid or has ended. | `Error` |
| `403` | The token does not give access to this company or operation. | `Error` |
| `404` | The request was refused. The `code` is `item_not_found`. | `Error` |
| `409` | The request was refused. The `code` is `operation_reused`. | `Error` |
| `422` | The request was refused. The `code` is `number_not_valid`, `number_taken`, `text_not_valid`, `date_not_valid`, `lines_required`, `line_repeated` or `quantity_not_valid`. | `Error` |
| `429` | The request was refused. The `code` is `rate_limited`. | `Error` |
| `503` | The request was refused. The `code` is `unavailable`. | `Error` |

### Request

curl

```bash
curl -X POST "$RDC_BASE_URL/warehouse/v1/orders" \
  -H "Authorization: Bearer $RDC_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "operationId": "6ef31ec9-56ef-4751-8f70-ba57c5e3bc61",
  "number": "CV-1049",
  "customer": "Hanul Ozana SRL",
  "lines": [
    {
      "sku": "ZA-0201",
      "quantity": "5"
    },
    {
      "sku": "DT-0412",
      "quantity": "2"
    }
  ],
  "shipBy": "2026-11-25"
}'
```

JavaScript

```javascript
const response = await fetch(`${process.env.RDC_BASE_URL}/warehouse/v1/orders`, {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.RDC_TOKEN}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    "operationId": "6ef31ec9-56ef-4751-8f70-ba57c5e3bc61",
    "number": "CV-1049",
    "customer": "Hanul Ozana SRL",
    "lines": [
      {
        "sku": "ZA-0201",
        "quantity": "5"
      },
      {
        "sku": "DT-0412",
        "quantity": "2"
      }
    ],
    "shipBy": "2026-11-25"
  }),
});
const result = await response.json();
```

Python

```python
import os
import requests

response = requests.request(
    'POST',
    f'{os.environ["RDC_BASE_URL"]}/warehouse/v1/orders',
    headers={
        'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
    },
    json={
        'operationId': '6ef31ec9-56ef-4751-8f70-ba57c5e3bc61',
        'number': 'CV-1049',
        'customer': 'Hanul Ozana SRL',
        'lines': [
            {
                'sku': 'ZA-0201',
                'quantity': '5',
            },
            {
                'sku': 'DT-0412',
                'quantity': '2',
            },
        ],
        'shipBy': '2026-11-25',
    },
)
result = response.json()
```

PHP

```php
<?php

$body = <<<'JSON'
{
  "operationId": "6ef31ec9-56ef-4751-8f70-ba57c5e3bc61",
  "number": "CV-1049",
  "customer": "Hanul Ozana SRL",
  "lines": [
    {
      "sku": "ZA-0201",
      "quantity": "5"
    },
    {
      "sku": "DT-0412",
      "quantity": "2"
    }
  ],
  "shipBy": "2026-11-25"
}
JSON;

$curl = curl_init(getenv('RDC_BASE_URL') . '/warehouse/v1/orders');
curl_setopt_array($curl, [
    CURLOPT_CUSTOMREQUEST => 'POST',
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => [
        'Authorization: Bearer ' . getenv('RDC_TOKEN'),
        'Content-Type: application/json',
    ],
    CURLOPT_POSTFIELDS => $body,
]);
$result = json_decode(curl_exec($curl), true);
curl_close($curl);
```

C#

```csharp
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, $"{Environment.GetEnvironmentVariable("RDC_BASE_URL")}/warehouse/v1/orders");
request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("RDC_TOKEN"));
request.Content = new StringContent("""
{
  "operationId": "6ef31ec9-56ef-4751-8f70-ba57c5e3bc61",
  "number": "CV-1049",
  "customer": "Hanul Ozana SRL",
  "lines": [
    {
      "sku": "ZA-0201",
      "quantity": "5"
    },
    {
      "sku": "DT-0412",
      "quantity": "2"
    }
  ],
  "shipBy": "2026-11-25"
}
""", System.Text.Encoding.UTF8, "application/json");
var response = await client.SendAsync(request);
var result = await response.Content.ReadAsStringAsync();
```

### Response `202`

JSON

```json
{
  "operationId": "6ef31ec9-56ef-4751-8f70-ba57c5e3bc61",
  "status": "accepted",
  "aggregateRevision": 1
}
```

## Get an order

GET `/warehouse/v1/orders/{orderId}`

### Parameters

| Name | In | Type | Required | Meaning |
| --- | --- | --- | --- | --- |
| `orderId` | path | `string (uuid)` | Yesrequired | The order. |

### Responses

| Status | Meaning | Body |
| --- | --- | --- |
| `200` | The record at its current revision. | `Order` |
| `401` | The token is missing, not valid or has ended. | `Error` |
| `403` | The token does not give access to this company or operation. | `Error` |
| `404` | The request was refused. The `code` is `order_not_found`. | `Error` |
| `429` | The request was refused. The `code` is `rate_limited`. | `Error` |
| `503` | The request was refused. The `code` is `unavailable`. | `Error` |

### Request

curl

```bash
curl "$RDC_BASE_URL/warehouse/v1/orders/a5000000-0000-4000-8000-000000001042" \
  -H "Authorization: Bearer $RDC_TOKEN"
```

JavaScript

```javascript
const response = await fetch(`${process.env.RDC_BASE_URL}/warehouse/v1/orders/a5000000-0000-4000-8000-000000001042`, {
  method: 'GET',
  headers: {
    Authorization: `Bearer ${process.env.RDC_TOKEN}`,
  },
});
const result = await response.json();
```

Python

```python
import os
import requests

response = requests.request(
    'GET',
    f'{os.environ["RDC_BASE_URL"]}/warehouse/v1/orders/a5000000-0000-4000-8000-000000001042',
    headers={
        'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
    },
)
result = response.json()
```

PHP

```php
<?php

$curl = curl_init(getenv('RDC_BASE_URL') . '/warehouse/v1/orders/a5000000-0000-4000-8000-000000001042');
curl_setopt_array($curl, [
    CURLOPT_CUSTOMREQUEST => 'GET',
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => [
        'Authorization: Bearer ' . getenv('RDC_TOKEN'),
    ],
]);
$result = json_decode(curl_exec($curl), true);
curl_close($curl);
```

C#

```csharp
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, $"{Environment.GetEnvironmentVariable("RDC_BASE_URL")}/warehouse/v1/orders/a5000000-0000-4000-8000-000000001042");
request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("RDC_TOKEN"));
var response = await client.SendAsync(request);
var result = await response.Content.ReadAsStringAsync();
```

### Response `200`

JSON

```json
{
  "id": "a5000000-0000-4000-8000-000000001042",
  "number": "CV-1042",
  "customer": "Hanul Ozana SRL",
  "shipBy": "2026-11-24",
  "waveNumber": "W-0231",
  "tote": "TOTE-014",
  "lines": [
    {
      "sku": "FA-0010",
      "quantity": "24",
      "picked": "24",
      "backorder": "0"
    },
    {
      "sku": "UL-0101",
      "quantity": "60",
      "picked": "48",
      "backorder": "0"
    },
    {
      "sku": "ZA-0201",
      "quantity": "80",
      "picked": "80",
      "backorder": "0"
    },
    {
      "sku": "LA-0307",
      "quantity": "36",
      "picked": "30",
      "backorder": "6"
    },
    {
      "sku": "DT-0412",
      "quantity": "12",
      "picked": "0",
      "backorder": "0"
    },
    {
      "sku": "AM-0518",
      "quantity": "9",
      "picked": "0",
      "backorder": "0"
    }
  ]
}
```
