---
title: "Put away | Docs | WMS by R&D Copilot"
description: "Move the received units of a line from the dock to a shelf: where they may go and what the move records."
canonical: "https://warehouse.rdcopilot.com/docs/guides/put-away/"
language: en
updated: 2026-11-22
---

# Put away

Move the received units of a line from the dock to a shelf: where they may go and what the move records.

Put-away takes every unit of a line that has been counted and not yet put away, and moves it from the dock to one shelf. Each line of the delivery names the shelf the system suggests, which is the shelf its item lives on, in `suggestedLocation`. You can put the units on another shelf of the right kind.

curl

```bash
curl -X POST "$RDC_BASE_URL/warehouse/v1/inbound-deliveries/a2000000-0000-4000-8000-000000000407/put-away" \
  -H "Authorization: Bearer $RDC_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "operationId": "ff237eb5-659b-4221-854c-57ebbf4e5431",
  "expectedRevision": 3,
  "sku": "FA-0010",
  "locationCode": "R-02-01",
  "by": "dan-ilie"
}'
```

JavaScript

```javascript
const response = await fetch(`${process.env.RDC_BASE_URL}/warehouse/v1/inbound-deliveries/a2000000-0000-4000-8000-000000000407/put-away`, {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.RDC_TOKEN}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    "operationId": "ff237eb5-659b-4221-854c-57ebbf4e5431",
    "expectedRevision": 3,
    "sku": "FA-0010",
    "locationCode": "R-02-01",
    "by": "dan-ilie"
  }),
});
const result = await response.json();
```

Python

```python
import os
import requests

response = requests.request(
    'POST',
    f'{os.environ["RDC_BASE_URL"]}/warehouse/v1/inbound-deliveries/a2000000-0000-4000-8000-000000000407/put-away',
    headers={
        'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
    },
    json={
        'operationId': 'ff237eb5-659b-4221-854c-57ebbf4e5431',
        'expectedRevision': 3,
        'sku': 'FA-0010',
        'locationCode': 'R-02-01',
        'by': 'dan-ilie',
    },
)
result = response.json()
```

PHP

```php
<?php

$body = <<<'JSON'
{
  "operationId": "ff237eb5-659b-4221-854c-57ebbf4e5431",
  "expectedRevision": 3,
  "sku": "FA-0010",
  "locationCode": "R-02-01",
  "by": "dan-ilie"
}
JSON;

$curl = curl_init(getenv('RDC_BASE_URL') . '/warehouse/v1/inbound-deliveries/a2000000-0000-4000-8000-000000000407/put-away');
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/inbound-deliveries/a2000000-0000-4000-8000-000000000407/put-away");
request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("RDC_TOKEN"));
request.Content = new StringContent("""
{
  "operationId": "ff237eb5-659b-4221-854c-57ebbf4e5431",
  "expectedRevision": 3,
  "sku": "FA-0010",
  "locationCode": "R-02-01",
  "by": "dan-ilie"
}
""", System.Text.Encoding.UTF8, "application/json");
var response = await client.SendAsync(request);
var result = await response.Content.ReadAsStringAsync();
```

Response 202

```json
{
  "operationId": "ff237eb5-659b-4221-854c-57ebbf4e5431",
  "status": "accepted",
  "aggregateRevision": 4
}
```

## Where it may go

| Refusal | When |
| --- | --- |
| `location_not_found` | The code is not a location. |
| `location_not_storage` | The location is a dock or a pack station. Goods are put away to the reserve, a pick face or the cold room. |
| `wrong_zone` | A cold item is put to a shelf that is not in the cold room, or another item to a shelf in it. |
| `nothing_to_put_away` | Every counted unit of the line is already on a shelf. |

## What it records

One movement of kind `putaway` from the dock to the shelf, with the lot and the expiry of the units and the number of the delivery in `ref`. The stock of the shelf rises by the quantity, and the stock of the dock falls to zero. The line shows `putAway` equal to `received`.

The first-expired-first-out rule takes units from a shelf, not from a dock. Units that stay on the dock are not picked.
