Locations, zones and bins
How the warehouse is addressed: a code for every place, five zones and the stock on each shelf.
On this page
Every place a unit can be in has a location code, and the code is what a scan reads. A shelf, which people also call a bin, is a location such as A-01-02: the zone letter, the aisle and the bay. The code is printed on the shelf label, so the handheld compares what it reads with the code of the task.
Zones
| Zone | Name | What it is |
|---|---|---|
dock | Dock | Where a delivery stands while it is counted. A dock holds one delivery at a time, and nothing is picked from it. |
reserve | Reserve | Pallet and bulk shelves that refill the pick faces. Stock is put away to them and picked from them. |
pick | Pick face | The shelf an item lives on, close to the packing. The first place an allocation takes from. |
cold | Cold room | The cold room. The items that need it are put away to it and are never put away anywhere else. |
pack | Pack station | The pack station. It holds no stock: units pass through it from a tote to a shipment. |
A location is storage when stock is put away to it and picked from it: the reserve, the pick faces and the cold room. List locations returns the code, the zone and this flag.
Stock
The stock of a shelf is a row for each item and lot: the quantity on hand, as a decimal string. It is never edited. It is the opening stock plus every movement, so a receipt, a put-away, a pick, a pack, a dispatch or an approved count each add a movement and the quantity follows. A row that was emptied stays at zero, so a count can still find it.
curl
curl "$RDC_BASE_URL/warehouse/v1/stock?locationCode=A-01-02&sku=FA-0010" \
-H "Authorization: Bearer $RDC_TOKEN" JavaScript
const response = await fetch(`${process.env.RDC_BASE_URL}/warehouse/v1/stock?locationCode=A-01-02&sku=FA-0010`, {
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/stock?locationCode=A-01-02&sku=FA-0010',
headers={
'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
},
)
result = response.json() PHP
<?php
$curl = curl_init(getenv('RDC_BASE_URL') . '/warehouse/v1/stock?locationCode=A-01-02&sku=FA-0010');
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/stock?locationCode=A-01-02&sku=FA-0010");
request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("RDC_TOKEN"));
var response = await client.SendAsync(request);
var result = await response.Content.ReadAsStringAsync(); {
"items": [
{
"locationCode": "A-01-02",
"sku": "FA-0010",
"lot": "L26-0988",
"expiry": "2027-03-15",
"quantity": "6"
},
{
"locationCode": "R-01-01",
"sku": "FA-0010",
"lot": "L26-1041",
"expiry": "2027-05-20",
"quantity": "120"
}
],
"nextCursor": null
} Places that are not shelves
A unit that has been picked is in a tote, tote:TOTE-014. A unit that has been packed is in a shipment, shipment:EXP-1043. Once the carrier has it, it is with the carrier. These places are in the movements and not in the stock of the warehouse, so the stock of the shelves is exactly what is on them.