Skip to content
Docs
API 1.0.0 · 22 Nov 2026

Search the docs

    Română

    Waves

    Group orders into a wave, release it and follow its progress.

    On this page

    List waves

    GET /warehouse/v1/waves

    Returns waves in pages, the newest first.

    Parameters

    NameInTypeRequiredMeaning
    status query string Nooptional Only waves in this status. One of planned, released, complete
    limit query integer Nooptional Records per page. Default 100 Range 1 – 500
    cursor query string Nooptional The nextCursor of the previous page.

    Responses

    StatusMeaningBody
    200 A page of records. WavePage
    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

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

    JavaScript

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

    Python

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

    PHP

    <?php
    
    $curl = curl_init(getenv('RDC_BASE_URL') . '/warehouse/v1/waves?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#

    using System.Net.Http.Headers;
    
    var client = new HttpClient();
    var request = new HttpRequestMessage(HttpMethod.Get, $"{Environment.GetEnvironmentVariable("RDC_BASE_URL")}/warehouse/v1/waves?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

    {
      "items": [
        {
          "id": "a6000000-0000-4000-8000-000000000231",
          "number": "W-0231",
          "status": "released",
          "orders": [
            "CV-1042",
            "CV-1043",
            "CV-1044"
          ],
          "releasedAt": "2026-11-23T06:02:00Z",
          "releasedBy": "mihai-stan",
          "tasks": {
            "open": 6,
            "inProgress": 1,
            "short": 1,
            "done": 6
          },
          "percent": 70
        },
        {
          "id": "a6000000-0000-4000-8000-000000000232",
          "number": "W-0232",
          "status": "planned",
          "orders": [
            "CV-1045"
          ],
          "releasedAt": null,
          "releasedBy": null,
          "tasks": {
            "open": 0,
            "inProgress": 0,
            "short": 0,
            "done": 0
          },
          "percent": 0
        }
      ],
      "nextCursor": null
    }

    Plan a wave

    POST /warehouse/v1/waves

    Groups orders that are in no wave into a new one and gives each its tote.

    Request body

    FieldTypeRequiredMeaning
    operationId string (uuid) Yesrequired A UUID you choose for this change. Send it again to repeat the request.
    orders string[] Yesrequired The numbers of the orders to group. Each is in no wave yet.

    Responses

    StatusMeaningBody
    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 order_not_found. Error
    409 The request was refused. The code is operation_reused. Error
    422 The request was refused. The code is orders_required or already_planned. Error
    429 The request was refused. The code is rate_limited. Error
    503 The request was refused. The code is unavailable. Error

    Request

    curl

    curl -X POST "$RDC_BASE_URL/warehouse/v1/waves" \
      -H "Authorization: Bearer $RDC_TOKEN" \
      -H "Content-Type: application/json" \
      -d '{
      "operationId": "dc8b79a9-579a-4493-84e3-bb77d1481dc3",
      "orders": [
        "CV-1049"
      ]
    }'

    JavaScript

    const response = await fetch(`${process.env.RDC_BASE_URL}/warehouse/v1/waves`, {
      method: 'POST',
      headers: {
        Authorization: `Bearer ${process.env.RDC_TOKEN}`,
        'Content-Type': 'application/json',
      },
      body: JSON.stringify({
        "operationId": "dc8b79a9-579a-4493-84e3-bb77d1481dc3",
        "orders": [
          "CV-1049"
        ]
      }),
    });
    const result = await response.json();

    Python

    import os
    import requests
    
    response = requests.request(
        'POST',
        f'{os.environ["RDC_BASE_URL"]}/warehouse/v1/waves',
        headers={
            'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
        },
        json={
            'operationId': 'dc8b79a9-579a-4493-84e3-bb77d1481dc3',
            'orders': [
                'CV-1049',
            ],
        },
    )
    result = response.json()

    PHP

    <?php
    
    $body = <<<'JSON'
    {
      "operationId": "dc8b79a9-579a-4493-84e3-bb77d1481dc3",
      "orders": [
        "CV-1049"
      ]
    }
    JSON;
    
    $curl = curl_init(getenv('RDC_BASE_URL') . '/warehouse/v1/waves');
    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#

    using System.Net.Http.Headers;
    
    var client = new HttpClient();
    var request = new HttpRequestMessage(HttpMethod.Post, $"{Environment.GetEnvironmentVariable("RDC_BASE_URL")}/warehouse/v1/waves");
    request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("RDC_TOKEN"));
    request.Content = new StringContent("""
    {
      "operationId": "dc8b79a9-579a-4493-84e3-bb77d1481dc3",
      "orders": [
        "CV-1049"
      ]
    }
    """, System.Text.Encoding.UTF8, "application/json");
    var response = await client.SendAsync(request);
    var result = await response.Content.ReadAsStringAsync();

    Response 202

    JSON

    {
      "operationId": "dc8b79a9-579a-4493-84e3-bb77d1481dc3",
      "status": "accepted",
      "aggregateRevision": 1
    }

    Get a wave

    GET /warehouse/v1/waves/{waveId}

    Parameters

    NameInTypeRequiredMeaning
    waveId path string (uuid) Yesrequired The wave.

    Responses

    StatusMeaningBody
    200 The record at its current revision. Wave
    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 wave_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

    curl "$RDC_BASE_URL/warehouse/v1/waves/a6000000-0000-4000-8000-000000000231" \
      -H "Authorization: Bearer $RDC_TOKEN"

    JavaScript

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

    Python

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

    PHP

    <?php
    
    $curl = curl_init(getenv('RDC_BASE_URL') . '/warehouse/v1/waves/a6000000-0000-4000-8000-000000000231');
    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#

    using System.Net.Http.Headers;
    
    var client = new HttpClient();
    var request = new HttpRequestMessage(HttpMethod.Get, $"{Environment.GetEnvironmentVariable("RDC_BASE_URL")}/warehouse/v1/waves/a6000000-0000-4000-8000-000000000231");
    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

    {
      "id": "a6000000-0000-4000-8000-000000000231",
      "number": "W-0231",
      "status": "released",
      "orders": [
        "CV-1042",
        "CV-1043",
        "CV-1044"
      ],
      "releasedAt": "2026-11-23T06:02:00Z",
      "releasedBy": "mihai-stan",
      "tasks": {
        "open": 6,
        "inProgress": 1,
        "short": 1,
        "done": 6
      },
      "percent": 70
    }

    Release a wave

    POST /warehouse/v1/waves/{waveId}/release

    Allocates the lines of the wave by first expired, first out, never from a lot past its date, and creates one pick task for each place the units are taken from. Only the warehouse lead releases a wave. What stock cannot cover stays on backorder.

    Parameters

    NameInTypeRequiredMeaning
    waveId path string (uuid) Yesrequired The wave.

    Request body

    FieldTypeRequiredMeaning
    operationId string (uuid) Yesrequired A UUID you choose for this change. Send it again to repeat the request.
    by string Yesrequired Identifier of the person who releases the wave. It has to be the warehouse lead.

    Responses

    StatusMeaningBody
    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 wave_not_found or order_not_found. Error
    409 The request was refused. The code is operation_reused. Error
    422 The request was refused. The code is lead_required, wave_released or nothing_to_pick. Error
    429 The request was refused. The code is rate_limited. Error
    503 The request was refused. The code is unavailable. Error

    Request

    curl

    curl -X POST "$RDC_BASE_URL/warehouse/v1/waves/a6000000-0000-4000-8000-000000000232/release" \
      -H "Authorization: Bearer $RDC_TOKEN" \
      -H "Content-Type: application/json" \
      -d '{
      "operationId": "b38aa99d-2655-4f47-8dca-8a038baf93b7",
      "by": "mihai-stan"
    }'

    JavaScript

    const response = await fetch(`${process.env.RDC_BASE_URL}/warehouse/v1/waves/a6000000-0000-4000-8000-000000000232/release`, {
      method: 'POST',
      headers: {
        Authorization: `Bearer ${process.env.RDC_TOKEN}`,
        'Content-Type': 'application/json',
      },
      body: JSON.stringify({
        "operationId": "b38aa99d-2655-4f47-8dca-8a038baf93b7",
        "by": "mihai-stan"
      }),
    });
    const result = await response.json();

    Python

    import os
    import requests
    
    response = requests.request(
        'POST',
        f'{os.environ["RDC_BASE_URL"]}/warehouse/v1/waves/a6000000-0000-4000-8000-000000000232/release',
        headers={
            'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
        },
        json={
            'operationId': 'b38aa99d-2655-4f47-8dca-8a038baf93b7',
            'by': 'mihai-stan',
        },
    )
    result = response.json()

    PHP

    <?php
    
    $body = <<<'JSON'
    {
      "operationId": "b38aa99d-2655-4f47-8dca-8a038baf93b7",
      "by": "mihai-stan"
    }
    JSON;
    
    $curl = curl_init(getenv('RDC_BASE_URL') . '/warehouse/v1/waves/a6000000-0000-4000-8000-000000000232/release');
    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#

    using System.Net.Http.Headers;
    
    var client = new HttpClient();
    var request = new HttpRequestMessage(HttpMethod.Post, $"{Environment.GetEnvironmentVariable("RDC_BASE_URL")}/warehouse/v1/waves/a6000000-0000-4000-8000-000000000232/release");
    request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("RDC_TOKEN"));
    request.Content = new StringContent("""
    {
      "operationId": "b38aa99d-2655-4f47-8dca-8a038baf93b7",
      "by": "mihai-stan"
    }
    """, System.Text.Encoding.UTF8, "application/json");
    var response = await client.SendAsync(request);
    var result = await response.Content.ReadAsStringAsync();

    Response 202

    JSON

    {
      "operationId": "b38aa99d-2655-4f47-8dca-8a038baf93b7",
      "status": "accepted",
      "aggregateRevision": 2
    }