---
title: "Release and pick a wave | Docs | WMS by R&D Copilot"
description: "Announce an order, plan and release a wave, then pick it with scans: the location, the item, the confirmation, and a short pick."
canonical: "https://warehouse.rdcopilot.com/docs/guides/release-and-pick-a-wave/"
language: en
updated: 2026-11-22
---

# Release and pick a wave

Announce an order, plan and release a wave, then pick it with scans: the location, the item, the confirmation, and a short pick.

The concepts are in [Waves, tasks and totes](https://warehouse.rdcopilot.com/docs/concepts/waves-tasks-and-totes/). This guide goes through them with requests.

## Announce the order and plan the wave

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
{
  "operationId": "6ef31ec9-56ef-4751-8f70-ba57c5e3bc61",
  "status": "accepted",
  "aggregateRevision": 1
}
```

Group orders that are in no wave into one. Each gets a tote.

curl

```bash
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

```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

```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
<?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#

```csharp
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
}
```

## Release the wave

Only the warehouse lead releases a wave: another person is refused with `lead_required`. A second release is refused with `wave_released`. When no stock within its date covers the wave, the answer is `nothing_to_pick`.

curl

```bash
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

```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

```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
<?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#

```csharp
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
}
```

## Scan the location and the item

Read the tasks of the wave, take one, and scan. The location comes first. The scan carries the `revision` you read, and an optional `scannedAt` for a scan that was made earlier.

curl

```bash
curl -X POST "$RDC_BASE_URL/warehouse/v1/pick-tasks/a1000000-0000-4000-8000-000000023107/scan-location" \
  -H "Authorization: Bearer $RDC_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "operationId": "cd67a0ac-e9e4-4d7e-8f8c-74d48829255e",
  "expectedRevision": 1,
  "code": "A-03-02"
}'
```

JavaScript

```javascript
const response = await fetch(`${process.env.RDC_BASE_URL}/warehouse/v1/pick-tasks/a1000000-0000-4000-8000-000000023107/scan-location`, {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.RDC_TOKEN}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    "operationId": "cd67a0ac-e9e4-4d7e-8f8c-74d48829255e",
    "expectedRevision": 1,
    "code": "A-03-02"
  }),
});
const result = await response.json();
```

Python

```python
import os
import requests

response = requests.request(
    'POST',
    f'{os.environ["RDC_BASE_URL"]}/warehouse/v1/pick-tasks/a1000000-0000-4000-8000-000000023107/scan-location',
    headers={
        'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
    },
    json={
        'operationId': 'cd67a0ac-e9e4-4d7e-8f8c-74d48829255e',
        'expectedRevision': 1,
        'code': 'A-03-02',
    },
)
result = response.json()
```

PHP

```php
<?php

$body = <<<'JSON'
{
  "operationId": "cd67a0ac-e9e4-4d7e-8f8c-74d48829255e",
  "expectedRevision": 1,
  "code": "A-03-02"
}
JSON;

$curl = curl_init(getenv('RDC_BASE_URL') . '/warehouse/v1/pick-tasks/a1000000-0000-4000-8000-000000023107/scan-location');
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/pick-tasks/a1000000-0000-4000-8000-000000023107/scan-location");
request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("RDC_TOKEN"));
request.Content = new StringContent("""
{
  "operationId": "cd67a0ac-e9e4-4d7e-8f8c-74d48829255e",
  "expectedRevision": 1,
  "code": "A-03-02"
}
""", System.Text.Encoding.UTF8, "application/json");
var response = await client.SendAsync(request);
var result = await response.Content.ReadAsStringAsync();
```

Response 202

```json
{
  "operationId": "cd67a0ac-e9e4-4d7e-8f8c-74d48829255e",
  "status": "accepted",
  "aggregateRevision": 2
}
```

curl

```bash
curl -X POST "$RDC_BASE_URL/warehouse/v1/pick-tasks/a1000000-0000-4000-8000-000000023106/scan-item" \
  -H "Authorization: Bearer $RDC_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "operationId": "6b2ce7ec-d95a-4670-8a70-15946efd9d70",
  "expectedRevision": 3,
  "code": "2900000002012",
  "quantity": "6",
  "scannedAt": "2026-11-23T07:20:00Z"
}'
```

JavaScript

```javascript
const response = await fetch(`${process.env.RDC_BASE_URL}/warehouse/v1/pick-tasks/a1000000-0000-4000-8000-000000023106/scan-item`, {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.RDC_TOKEN}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    "operationId": "6b2ce7ec-d95a-4670-8a70-15946efd9d70",
    "expectedRevision": 3,
    "code": "2900000002012",
    "quantity": "6",
    "scannedAt": "2026-11-23T07:20:00Z"
  }),
});
const result = await response.json();
```

Python

```python
import os
import requests

response = requests.request(
    'POST',
    f'{os.environ["RDC_BASE_URL"]}/warehouse/v1/pick-tasks/a1000000-0000-4000-8000-000000023106/scan-item',
    headers={
        'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
    },
    json={
        'operationId': '6b2ce7ec-d95a-4670-8a70-15946efd9d70',
        'expectedRevision': 3,
        'code': '2900000002012',
        'quantity': '6',
        'scannedAt': '2026-11-23T07:20:00Z',
    },
)
result = response.json()
```

PHP

```php
<?php

$body = <<<'JSON'
{
  "operationId": "6b2ce7ec-d95a-4670-8a70-15946efd9d70",
  "expectedRevision": 3,
  "code": "2900000002012",
  "quantity": "6",
  "scannedAt": "2026-11-23T07:20:00Z"
}
JSON;

$curl = curl_init(getenv('RDC_BASE_URL') . '/warehouse/v1/pick-tasks/a1000000-0000-4000-8000-000000023106/scan-item');
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/pick-tasks/a1000000-0000-4000-8000-000000023106/scan-item");
request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("RDC_TOKEN"));
request.Content = new StringContent("""
{
  "operationId": "6b2ce7ec-d95a-4670-8a70-15946efd9d70",
  "expectedRevision": 3,
  "code": "2900000002012",
  "quantity": "6",
  "scannedAt": "2026-11-23T07:20:00Z"
}
""", System.Text.Encoding.UTF8, "application/json");
var response = await client.SendAsync(request);
var result = await response.Content.ReadAsStringAsync();
```

Response 202

```json
{
  "operationId": "6b2ce7ec-d95a-4670-8a70-15946efd9d70",
  "status": "accepted",
  "aggregateRevision": 4
}
```

A scan that does not match is refused with its reason and counts for nothing: `wrong_location` for another shelf, `wrong_item` for another item, `too_many` when the units would exceed the task, `location_not_scanned` for an item before the location. See [Scan error codes](https://warehouse.rdcopilot.com/docs/handheld/scan-error-codes/).

## Confirm, or report it short

When every unit is scanned, confirm the task. When the shelf holds fewer, close the task short with a reason: the units scanned so far go to the tote, and the rest stays on backorder. With the reason `not-found` the system asks for a [count](https://warehouse.rdcopilot.com/docs/guides/count-a-location/) of the shelf.

curl

```bash
curl -X POST "$RDC_BASE_URL/warehouse/v1/pick-tasks/a1000000-0000-4000-8000-000000023106/confirm" \
  -H "Authorization: Bearer $RDC_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "operationId": "b653bc5c-d8f9-428a-8423-cf24688c5b2a",
  "expectedRevision": 4
}'
```

JavaScript

```javascript
const response = await fetch(`${process.env.RDC_BASE_URL}/warehouse/v1/pick-tasks/a1000000-0000-4000-8000-000000023106/confirm`, {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.RDC_TOKEN}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    "operationId": "b653bc5c-d8f9-428a-8423-cf24688c5b2a",
    "expectedRevision": 4
  }),
});
const result = await response.json();
```

Python

```python
import os
import requests

response = requests.request(
    'POST',
    f'{os.environ["RDC_BASE_URL"]}/warehouse/v1/pick-tasks/a1000000-0000-4000-8000-000000023106/confirm',
    headers={
        'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
    },
    json={
        'operationId': 'b653bc5c-d8f9-428a-8423-cf24688c5b2a',
        'expectedRevision': 4,
    },
)
result = response.json()
```

PHP

```php
<?php

$body = <<<'JSON'
{
  "operationId": "b653bc5c-d8f9-428a-8423-cf24688c5b2a",
  "expectedRevision": 4
}
JSON;

$curl = curl_init(getenv('RDC_BASE_URL') . '/warehouse/v1/pick-tasks/a1000000-0000-4000-8000-000000023106/confirm');
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/pick-tasks/a1000000-0000-4000-8000-000000023106/confirm");
request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("RDC_TOKEN"));
request.Content = new StringContent("""
{
  "operationId": "b653bc5c-d8f9-428a-8423-cf24688c5b2a",
  "expectedRevision": 4
}
""", System.Text.Encoding.UTF8, "application/json");
var response = await client.SendAsync(request);
var result = await response.Content.ReadAsStringAsync();
```

Response 202

```json
{
  "operationId": "b653bc5c-d8f9-428a-8423-cf24688c5b2a",
  "status": "accepted",
  "aggregateRevision": 5
}
```

curl

```bash
curl -X POST "$RDC_BASE_URL/warehouse/v1/pick-tasks/a1000000-0000-4000-8000-000000023106/short" \
  -H "Authorization: Bearer $RDC_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "operationId": "bc89357a-06b5-4c5a-849d-79c67214b1fa",
  "expectedRevision": 3,
  "reason": "not-found"
}'
```

JavaScript

```javascript
const response = await fetch(`${process.env.RDC_BASE_URL}/warehouse/v1/pick-tasks/a1000000-0000-4000-8000-000000023106/short`, {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.RDC_TOKEN}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    "operationId": "bc89357a-06b5-4c5a-849d-79c67214b1fa",
    "expectedRevision": 3,
    "reason": "not-found"
  }),
});
const result = await response.json();
```

Python

```python
import os
import requests

response = requests.request(
    'POST',
    f'{os.environ["RDC_BASE_URL"]}/warehouse/v1/pick-tasks/a1000000-0000-4000-8000-000000023106/short',
    headers={
        'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
    },
    json={
        'operationId': 'bc89357a-06b5-4c5a-849d-79c67214b1fa',
        'expectedRevision': 3,
        'reason': 'not-found',
    },
)
result = response.json()
```

PHP

```php
<?php

$body = <<<'JSON'
{
  "operationId": "bc89357a-06b5-4c5a-849d-79c67214b1fa",
  "expectedRevision": 3,
  "reason": "not-found"
}
JSON;

$curl = curl_init(getenv('RDC_BASE_URL') . '/warehouse/v1/pick-tasks/a1000000-0000-4000-8000-000000023106/short');
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/pick-tasks/a1000000-0000-4000-8000-000000023106/short");
request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("RDC_TOKEN"));
request.Content = new StringContent("""
{
  "operationId": "bc89357a-06b5-4c5a-849d-79c67214b1fa",
  "expectedRevision": 3,
  "reason": "not-found"
}
""", System.Text.Encoding.UTF8, "application/json");
var response = await client.SendAsync(request);
var result = await response.Content.ReadAsStringAsync();
```

Response 202

```json
{
  "operationId": "bc89357a-06b5-4c5a-849d-79c67214b1fa",
  "status": "accepted",
  "aggregateRevision": 4
}
```

## Put a task aside

A picker who cannot reach a shelf skips the task and takes it up later. A task with units scanned cannot be skipped: it is confirmed or closed short.

curl

```bash
curl -X POST "$RDC_BASE_URL/warehouse/v1/pick-tasks/a1000000-0000-4000-8000-000000023108/skip" \
  -H "Authorization: Bearer $RDC_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "operationId": "a0c5d171-243b-4ad5-87f4-5caf67fa9825",
  "expectedRevision": 1
}'
```

JavaScript

```javascript
const response = await fetch(`${process.env.RDC_BASE_URL}/warehouse/v1/pick-tasks/a1000000-0000-4000-8000-000000023108/skip`, {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.RDC_TOKEN}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    "operationId": "a0c5d171-243b-4ad5-87f4-5caf67fa9825",
    "expectedRevision": 1
  }),
});
const result = await response.json();
```

Python

```python
import os
import requests

response = requests.request(
    'POST',
    f'{os.environ["RDC_BASE_URL"]}/warehouse/v1/pick-tasks/a1000000-0000-4000-8000-000000023108/skip',
    headers={
        'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
    },
    json={
        'operationId': 'a0c5d171-243b-4ad5-87f4-5caf67fa9825',
        'expectedRevision': 1,
    },
)
result = response.json()
```

PHP

```php
<?php

$body = <<<'JSON'
{
  "operationId": "a0c5d171-243b-4ad5-87f4-5caf67fa9825",
  "expectedRevision": 1
}
JSON;

$curl = curl_init(getenv('RDC_BASE_URL') . '/warehouse/v1/pick-tasks/a1000000-0000-4000-8000-000000023108/skip');
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/pick-tasks/a1000000-0000-4000-8000-000000023108/skip");
request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("RDC_TOKEN"));
request.Content = new StringContent("""
{
  "operationId": "a0c5d171-243b-4ad5-87f4-5caf67fa9825",
  "expectedRevision": 1
}
""", System.Text.Encoding.UTF8, "application/json");
var response = await client.SendAsync(request);
var result = await response.Content.ReadAsStringAsync();
```

Response 202

```json
{
  "operationId": "a0c5d171-243b-4ad5-87f4-5caf67fa9825",
  "status": "accepted",
  "aggregateRevision": 2
}
```

curl

```bash
curl -X POST "$RDC_BASE_URL/warehouse/v1/pick-tasks/a1000000-0000-4000-8000-000000023108/resume" \
  -H "Authorization: Bearer $RDC_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "operationId": "ea8a5371-082d-461f-86c0-1aaf8b00980f",
  "expectedRevision": 2
}'
```

JavaScript

```javascript
const response = await fetch(`${process.env.RDC_BASE_URL}/warehouse/v1/pick-tasks/a1000000-0000-4000-8000-000000023108/resume`, {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.RDC_TOKEN}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    "operationId": "ea8a5371-082d-461f-86c0-1aaf8b00980f",
    "expectedRevision": 2
  }),
});
const result = await response.json();
```

Python

```python
import os
import requests

response = requests.request(
    'POST',
    f'{os.environ["RDC_BASE_URL"]}/warehouse/v1/pick-tasks/a1000000-0000-4000-8000-000000023108/resume',
    headers={
        'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
    },
    json={
        'operationId': 'ea8a5371-082d-461f-86c0-1aaf8b00980f',
        'expectedRevision': 2,
    },
)
result = response.json()
```

PHP

```php
<?php

$body = <<<'JSON'
{
  "operationId": "ea8a5371-082d-461f-86c0-1aaf8b00980f",
  "expectedRevision": 2
}
JSON;

$curl = curl_init(getenv('RDC_BASE_URL') . '/warehouse/v1/pick-tasks/a1000000-0000-4000-8000-000000023108/resume');
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/pick-tasks/a1000000-0000-4000-8000-000000023108/resume");
request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("RDC_TOKEN"));
request.Content = new StringContent("""
{
  "operationId": "ea8a5371-082d-461f-86c0-1aaf8b00980f",
  "expectedRevision": 2
}
""", System.Text.Encoding.UTF8, "application/json");
var response = await client.SendAsync(request);
var result = await response.Content.ReadAsStringAsync();
```

Response 202

```json
{
  "operationId": "ea8a5371-082d-461f-86c0-1aaf8b00980f",
  "status": "accepted",
  "aggregateRevision": 3
}
```
