RMS. Developers

Send orders in. Get shipments, stock and receipts back.

The RMS API connects your store, ERP or order system to the warehouse that holds your stock. Plain JSON over HTTPS, one key in one header, and a signed webhook when something changes.

  • One headerX-API-Key, no OAuth to refresh
  • Safe retriesyour order number is the idempotency key
  • Push or pullsigned webhooks, or an event feed
  • Test keysevery call checked, nothing saved
POST /ordersv1
"reference_number": "SO-100045", "ship_to": { "city": "Winter Park", "state": "CO" }, "lines": [{ "sku_code": "ACME-WIDGET-01", "quantity": 24 }]
Response201 CreatedORD-000004 · open
X-API-Key: rms_live_…sample
Build on this

The RMS API

Orders, order status with lots and tracking, stock you can actually sell, inbound ASNs, receipts, documents, your item catalogue, held stock, and webhooks. Every call is checked against your key, so you only ever see your own account.

Create your first order →

Moving from Extensiv

Keep your Extensiv calls. We translate them.

If your program calls Extensiv's 3PL Warehouse Manager API today, point it at RMS and change three settings. Sign-in, paths and answer layouts match for inventory and orders. Build new work on the RMS API.

How the translation works →

20 endpoints, one key

Every path starts with the base URL:https://app.rms3pl.com/api/external/v1

Your warehouse gives your key the permissions you need. GET /me lists them, each with allowed true or false.

The full machine-readable spec: rms-api-v1.openapi.yaml (OpenAPI 3.1).

MethodPathWhat it does
GET/meWho this key is
GET/ordersLook up one order by reference, or list orders
POST/ordersCreate an order
GET/orders/{order_id}Read one order
PATCH/orders/{order_id}Change an order's address or lines
POST/orders/{order_id}/cancelCancel an order
POST/orders/{order_id}/documentsAttach a document to an order
GET/receiptsList goods received
GET/receipts/{receipt_id}Read one receipt
POST/receipts/{receipt_id}/documentsAttach a document to a receipt
GET/inventoryStock position per SKU
GET/quarantineStock on hold
GET/asnsList your ASNs
POST/asnsTell us stock is on its way (ASN)
POST/asns/{asn_id}/cancelCancel an ASN
GET/inboundWhat is on its way to us
GET/doc-typesDocument type codes
GET/itemsRead the item catalogue
POST/itemsCreate or update items
GET/eventsPull events

RMS is the warehouse management system your warehouse runs. In this guide, "we" means your warehouse, and "you" means your company and your developers.

You send us orders; we pick, pack and ship them. You can optionally tell us about inbound stock ahead of arrival, and attach documents to either.

Everything below is live today unless explicitly marked otherwise.

How this API changes. We add fields; we don't repurpose them. So: ignore any response field you don't recognise, and don't assume the set is fixed. A new optional request field or a new response field will never be announced as a breaking change. If we ever have to change the meaning of something, it becomes /v2 and /v1 keeps serving, with Deprecation and Sunset headers warning you first.


1. Getting set up

Base URL: https://app.rms3pl.com/api/external/v1 — we will send you a test URL first, then a production one.

Auth: every request carries your key in a header. No OAuth, no tokens to refresh.

X-API-Key: <your key>

You will get two keys — one for test, one for production. We send them through a separate channel, never email. A key is bound to your account and, optionally, to a single warehouse. A key bound to a warehouse sees and writes that warehouse only: a warehouse_code for another one answers 403 with code: "wrong_warehouse".

Before anything works, three things must agree on both sides:

You send Must match
client_code the account code we set up for you
sku_code an item that already exists in RMS
warehouse_code one of our warehouses (omit it and we use your key's default)

Item codes are the usual source of integration pain. Send us your item list before you start coding — a CSV of code / description / pack size is fine, or an Extensiv Item Master export if you have one.

Machine-readable spec: the whole API as OpenAPI 3.1 (paths, fields, errors, webhooks) is published beside this guide, for code generators and API tools.

Check your set-up first: GET /me answers who your key is (account, default warehouse, rate limit) and lists each permission with allowed true or false. It works with any valid key.

curl "https://app.rms3pl.com/api/external/v1/me" -H "X-API-Key: $RMS_API_KEY"

2. Create an order

POST /orders

curl -X POST "https://app.rms3pl.com/api/external/v1/orders" \
  -H "X-API-Key: $RMS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "client_code": "ACME",
    "reference_number": "SO-100045",
    "po_number": "PO-8891",
    "ship_date": "2026-09-01",
    "carrier": "UPS",
    "carrier_service": "Ground",
    "ship_to": {
      "company": "Bearpaw Lodge",
      "attention": "Receiving",
      "address1": "40 Village Rd",
      "city": "Winter Park",
      "state": "CO",
      "postal_code": "80482",
      "country": "US",
      "phone": "970-555-0271"
    },
    "lines": [
      { "sku_code": "ACME-WIDGET-01", "quantity": 24 },
      { "sku_code": "ACME-WIDGET-02", "quantity": 6, "lot_number": "L-2026-08" }
    ]
  }'

Response 201

{
  "order_id": 2109,
  "order_number": "ORD-000004",
  "status": "open",
  "reference_number": "SO-100045",
  "created": true,
  "warnings": []
}

Fields

Field Required Notes
client_code yes your account code
reference_number yes your order number. Must be unique for your account. This is the idempotency key — see §3
lines[] yes sku_code, quantity; optional lot_number, notes
warehouse_code no defaults to your key's warehouse
po_number no
ship_date no YYYY-MM-DD
carrier / carrier_service no plain names, matched case-insensitively ("UPS", "Ground"). Send us the list you'll use so we can confirm they resolve
tracking_number no if you buy your own postage and already have the number. Stored as sent — we never validate it against a carrier format, because those change and we'd rather hold an odd string than bounce your order
billing_type no prepaid (default), collect, third_party
notes no
ship_to no if present: address1, city, state, postal_code required; country defaults to US

warnings[] is not an error. We create the order and tell you what we couldn't resolve — an unknown carrier name, a lot number we don't recognise. Worth logging; it's usually a code-mapping problem worth fixing early.


3. Retries and duplicates — read this bit

reference_number makes order creation idempotent. If you POST the same reference twice, the second call does not create a second order:

{ "order_id": 2109, "order_number": "ORD-000004", "created": false, ... }

created: false, with status 200 instead of 201, means "this already existed, here it is." So a network timeout is safe to retry — you can't accidentally double-ship.

If you'd rather check before sending:

GET /orders?ref=<reference_number>

curl "https://app.rms3pl.com/api/external/v1/orders?ref=SO-100045" \
  -H "X-API-Key: $RMS_API_KEY"

404 means we've never seen it.


4. Reading status back

Use the same lookup:

curl "https://app.rms3pl.com/api/external/v1/orders?ref=SO-100045" \
  -H "X-API-Key: $RMS_API_KEY"

Order status moves open → picking → staged → shipped → closed (or cancelled).

Or by our id: GET /orders/{order_id} gives the same answer.

The answer has the order's status, carrier and tracking, each parcel (packages), each line with the lots it shipped from, and ship_to: the address it goes to, with the same field names you send.

Every order, not one at a time. GET /orders without ref lists your orders, newest first, 200 at most. The header X-Total-Count says how many matched in all. For the next page, ask again with offset = the rows you already have (offset=200, then 400…). offset works the same way on /receipts and /asns.

Parameter Meaning
shipped_since Shipped at or after this time (ISO 8601, UTC). The list then runs oldest first: call again with the last shipped_at you saw.
created_since Created at or after this time. Also oldest first.
status One status or a comma list, e.g. shipped,closed
include=lines Each order with its lines and the lots they shipped from (50 orders at most)
limit Fewer rows (max 200, or 50 with lines)
offset Rows to skip, for the next page
curl "https://app.rms3pl.com/api/external/v1/orders?shipped_since=2026-11-06T00:00:00Z&include=lines" \
  -H "X-API-Key: $RMS_API_KEY"

Cancelling an order. POST /orders/{order_id}/cancel, with an optional body { "reason": "…" }. Needs the ext.orders.cancel permission, which we grant to one key at a time. The answer depends on how far the order got:

Answer Meaning
200 result: cancelled Work had not started. It is cancelled.
202 result: cancel_requested Work has started. We put it on hold and our team stops and cancels it. Read the order back to see cancelled.
409 result: too_late It has shipped. Nothing changed.
200 result: already_cancelled It was cancelled before.

Changing an order. PATCH /orders/{order_id} with a new ship_to, new lines (sku_code, quantity as a whole number of base units: the full new list), or both. Needs ext.orders.write. Lots cannot be changed here: cancel and send the order again.

Answer Meaning
200 result: updated Work had not started. The change is made; the order comes back.
202 result: change_requested Work has started. A new address is used at once and our team checks it; new lines wait for our team. applied says which.
200 result: unchanged The order already says this.
409 result: too_late Shipped, closed or cancelled. Nothing changed.

What arrived. GET /receipts lists goods received (one row per receipt, newest first, 200 at most): received_from / received_to (our warehouse's days, YYYY-MM-DD), ref (your reference, a SKU or our receipt number), order=asc, offset, and include=lines for each SKU, lot, expiry and quantity (50 receipts at most: more matches answer 422, so narrow the dates). GET /receipts/{receipt_id} answers one receipt with its lines, whether it is confirmed, and whether it was reversed. Needs the ext.receipts.read permission.

Rather not poll? We can tell you instead: an order created, staged, shipped, cancelled or corrected, and a receipt confirmed, each sent to your URL within about 15 seconds. See §12.


5. Checking stock before you order

GET /inventory — what we hold, per SKU.

curl -G "https://app.rms3pl.com/api/external/v1/inventory" \
  -H "X-API-Key: $RMS_API_KEY" \
  --data-urlencode "sku_code=ACME-WIDGET-01"
[{
  "sku_code": "ACME-WIDGET-01",
  "description": "Widget, small",
  "uom": "Case",
  "client_code": "ACME",
  "client_name": "Acme Inc",
  "on_hand": 15,
  "committed": 0,
  "allocated": 6,
  "in_pick": 0,
  "cross_dock": 0,
  "available": 9,
  "staged": 0,
  "quarantined": 0
}]

Use available, not on_hand

This is the one thing to get right:

Field Meaning
on_hand physically in the building
committed on open orders, no pallet picked out yet
allocated a specific pallet is locked for an order
in_pick someone is pulling it off the shelf right now
available on_hand − committed − allocated − in_pick — size your orders against this
staged picked and sitting at the dock, awaiting the carrier
quarantined on hold, on site, not sellable

In the example above there are 15 cases in the building but only 9 you can have — 6 are already locked to someone else's order. Ordering against on_hand will over-commit.

Quantities are in each SKU's tracking unit (uom tells you which — Case, Each, Keg…), not individual pieces.

Filters (all optional, all combinable): sku_code, warehouse_code, client_code, limit (default 200, max 1000). Omit warehouse_code and we aggregate across every warehouse your key can see.

cross_dock (not shown above) is stock on a cross-dock pallet, held for its own truck. It counts in on_hand and never in available, so the full formula is on_hand − committed − allocated − in_pick − cross_dock.

A SKU of yours with zero of everything is still listed, with zeros, so you can tell "none in stock" apart from "the API returned nothing". A code we don't know returns [] rather than an error, so an availability check never hard-fails on a code mismatch.

Needs the ext.inventory.read permission on your key.


6. Inbound stock (optional) — ASN

POST /asns tells our warehouse that stock is on its way. An ASN is a declaration of what you intend to send — it never asserts that goods arrived, which only our dock can do.

Be aware of what an ASN does and does not do today. It gives our receiving team advance notice, the lot and expiry you have declared, and a container breakdown, so the dock knows what to expect. It does not automatically close itself out when the goods land: our team receives the physical shipment as a separate step, and today that step is not linked to your ASN record.

Two practical consequences for you:

  1. GET /inbound?ref=… may keep answering type: "asn" after the goods have actually arrived. It flips to type: "receipt" only when the receipt is booked against the same reference. Do not treat "still an ASN" as proof nothing arrived.
  2. GET /inventory is the reliable signal that stock has landed — the quantity moves. Watch that rather than the ASN's status if you need to know goods are on hand.

We would rather tell you this than have you build a workflow around a status transition that does not happen yet. Linking receipts to ASNs is on our roadmap; when it lands, the ?ref= behaviour becomes automatic and nothing you have built breaks.

curl -X POST "https://app.rms3pl.com/api/external/v1/asns" \
  -H "X-API-Key: $RMS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "client_code": "ACME",
    "reference_number": "ASN-5567",
    "vendor_name": "Acme Manufacturing",
    "carrier": "LTL Freight",
    "expected_arrival_date": "2026-09-05",
    "lines": [
      { "sku_code": "ACME-WIDGET-01", "quantity_expected": 480 }
    ]
  }'

Response 201

{ "asn_id": 88, "reference_number": "ASN-5567", "asn_number": "ASN-000042",
  "status": "paperwork_received", "line_count": 1 }

asn_number is our number for your ASN — what our team sees on screen and will quote if they contact you about it. It never changes, including when you revise the ASN. Your reference_number stays your key for everything you send us; you never need to send asn_number back. (The ASN-5567 above is an example of your reference — ours are always ASN- plus six digits.)

Two things to understand:

  • This is a pre-arrival record only. It does not change inventory. The physical receive still happens at our dock, done by a person. Automatic reconciliation of your ASN against what actually turned up (short, over, damaged) is not built yet — our team resolves differences on screen. If your process assumes automated inbound confirmation, let's talk.
  • Re-posting the same reference_number is treated as a revision, not a duplicate: while nobody has acted on it, we replace the lines in place and return 200. Once our team has acted on it (matched, receiving, received or cancelled), a re-post returns 409 rather than quietly overwriting their work.

Line fields

Field Required Notes
sku_code yes best-effort match — a miss does not reject the ASN
quantity_expected yes
uom no the unit you mean — "Case", "Bottle". Send this. A bare 24 is ambiguous
lot_number no
expiry_date no YYYY-MM-DD. Send it for dated stock — we rotate on it (FEFO) and check shelf life on arrival
manufacture_date no YYYY-MM-DD
containers[] no { lpn, quantity } — which declared container holds how much of this line
serials[] no array of serial strings, if you track per unit
notes no

Declaring pallets/cartons

Containers are declared once at the top level, then referenced by your own LPN — you never need an id from us. One line can span several containers and one container can hold several lines, so a mixed pallet is expressible:

{
  "client_code": "ACME",
  "reference_number": "ASN-5567",
  "containers": [
    { "lpn": "SSCC-0001", "container_type": "pallet" },
    { "lpn": "SSCC-0002", "container_type": "pallet" }
  ],
  "lines": [{
    "sku_code": "ACME-WIDGET-01",
    "quantity_expected": 24, "uom": "Case",
    "lot_number": "L-2026-08", "expiry_date": "2027-03-31",
    "containers": [
      { "lpn": "SSCC-0001", "quantity": 18 },
      { "lpn": "SSCC-0002", "quantity": 6 }
    ]
  }]
}

warnings[] tells you what the dock will insist on

The response carries the same warnings[] convention as orders. Two kinds are worth acting on:

"warnings": [
  "ACME-WIDGET-01: expiry_date is required at receive for this SKU but was not supplied",
  "ACME-WIDGET-02: container LPN \"SSCC-9999\" was not declared in containers[] — link ignored"
]

The first means our warehouse will demand that field when the goods arrive. Fixing it now is free; discovering it at the dock holds up a truck. Nothing here rejects the ASN — it is accepted either way.

Lookup: GET /inbound?ref=ASN-5567 — returns either a real receipt or a pending ASN, with type: "receipt" | "asn" so you can tell which. Use the same call throughout: while the goods are expected you get type: "asn", and once they have physically landed the same reference starts answering type: "receipt". You do not need to guess which stage it is at. A type: "asn" answer also carries our asn_number.


Your ASNs, and cancelling one. GET /asns lists the ASNs we hold for you, newest first: status (open, or any of paperwork_received, matched, receiving, goods_received, cancelled), ref, and expected_from / expected_to. POST /asns/{asn_id}/cancel cancels one that has not been received (409 once goods arrived against it). Needs ext.asns.read and ext.asns.cancel.

7. What's already on its way to us

GET /inbound — open ASNs, so you can tell "out of stock" apart from "480 cases land Thursday".

curl "https://app.rms3pl.com/api/external/v1/inbound?group=sku" \
  -H "X-API-Key: $RMS_API_KEY"
[{ "sku_code": "ACME-WIDGET-01", "sku_recognised": true,
   "quantity_expected": 24, "quantity_uom": "Case",
   "asn_count": 1, "earliest_expected_arrival": "2026-08-15" }]

With group=sku there is one row per SKU and unit: 24 Case and 6 Bottle of one SKU are two rows, never "30".

Drop group=sku for a line-by-line view including reference_number, asn_number, status, vendor_name, lot_number, expiry_date, containers[] and serial_count.

  • Only open ASNs appear (paperwork_received, matched). Once goods are received they leave this endpoint and show up in /inventory instead, so nothing is ever counted twice.
  • quantity_expected is echoed exactly as you sent it, and quantity_uom is your own text. We do not convert it — treat it as "what we were told".
  • A sku_code we don't recognise is still listed, flagged sku_recognised: false. That's a code-mapping problem, not an empty warehouse.
  • Inbound is expected, not promised. It's what a supplier said they'd send. Don't treat it as sellable.

Needs the ext.inbound.read permission.

Unlike orders, a sku_code we don't recognise does not reject the ASN — we keep your raw text and a human maps it. That's deliberate: we'd rather have the paperwork than lose it to a code mismatch. A client_code must be your own account's: a key for one account answers 422 for any other code.


8. Attaching documents (optional)

POST /orders/{order_id}/documents · POST /receipts/{receipt_id}/documents

curl -X POST "https://app.rms3pl.com/api/external/v1/orders/2109/documents" \
  -H "X-API-Key: $RMS_API_KEY" \
  -F "file=@commercial-invoice.pdf" \
  -F "doc_type=invoice"
  • PDF, image, Excel, Word or CSV · max 20 MB
  • doc_type optional, defaults to other. Valid codes: GET /doc-types
  • Rate limited: 20/hour, 300/day per key. A 429 includes Retry-After
  • A test key's upload is checked and not stored: it answers 200 with the file name, type and size
  • We validate that file contents match the declared type — a .pdf that isn't a PDF is rejected with 400
curl "https://app.rms3pl.com/api/external/v1/doc-types" -H "X-API-Key: $RMS_API_KEY"
# [{ "code": "bol", "label": "Bill of Lading", ... }, ...]

9. Errors

Every error answers JSON with two fields: error, a sentence for a person, and code, a fixed word for your program. Branch on code, never on the wording of error, which we may improve. Some answers add a field you can act on: fields (which fields are wrong), permission (the one your key lacks), reason, or result (cancel and change, §4).

{ "error": "Invalid ship_date: 2026-02-31. Use YYYY-MM-DD.", "code": "invalid_request", "fields": ["ship_date"] }

The codes: invalid_request, field_not_allowed, missing_key, invalid_key, key_expired, key_revoked, address_not_allowed, plan_required, api_off, permission_denied, wrong_customer, wrong_warehouse, forbidden, not_found, method_not_allowed, conflict, unprocessable, too_large, unsupported_media_type, rate_limited, timeout, internal_error, unavailable.

Status Meaning
400 Bad request — a missing or invalid field. error says which
401 Missing or invalid X-API-Key
403 Your key may not do this: a missing permission (permission names it), a call from an address your key does not allow, API access switched off for your account, or another account's client_code
404 Not found, or belongs to another account
409 Conflict — too late to cancel or change an order (§4), an ASN already acted on (§6), or a serial number already in use
422 We understood the request but cannot do it — an unknown client_code, sku_code or warehouse_code on an order, or an item change we don't allow (§10)
429 Too many calls. Wait for the seconds in Retry-After. See the limits below
500 Our problem. Retry is safe on POST /orders thanks to idempotency (§3)
503 Briefly unavailable. Retry after a short wait

Limits. Each key may make 600 calls a minute unless we agree a different number (GET /me shows yours; null means the standard 600). Every answer carries X-RateLimit-Limit (calls a minute) and X-RateLimit-Remaining (left this minute). Document uploads have their own limit (§8). An address that sends 20 wrong keys in 10 minutes is refused for a while with 429.

Your key carries explicit permissions (ext.orders.read, ext.orders.write, ext.inbound.read, ext.asns.write, ext.documents.write, …). We'll issue yours with what you need. A 403 names the missing permission; it does not mean that something is broken.

We log every failed API request on our side with the reason, so if something isn't behaving, tell us the reference_number and roughly when — we can usually see exactly what happened without asking you to reproduce it.


Sending us your shipping label

If you buy your own postage, send the label with the order — one call, no separate upload:

{ "reference_number": "SO-100045",
  "tracking_number":  "1Z999AA10123456784",
  "documents": [ { "doc_type": "shipping_label",
                   "file_name": "SO-100045.pdf",
                   "content_base64": "JVBERi0xLjQK..." } ],
  "lines": [ ... ] }

PDF or ZPL — we take either. If you can emit ZPL, send it: we print to thermal, and raw ZPL gives a cleaner barcode than a scaled PDF, which matters when the carrier's hub scans it. If PDF is all you have, that's fine.

Send it at 4×6. If no label arrives on an account set up to supply one, we hold the parcel and call you rather than guessing.


10. Keeping the item catalogue in step

Item writes are off by default, and that is deliberate — please read this before building against it.

A SKU in our system is two things: what the product is (code, description, barcode) and how we handle it — the unit hierarchy (how many eaches in a case, cases on a pallet) and whether the dock must capture a lot number and expiry. You know the first. The second is an operational decision we make with you once, and a SKU without it cannot be received in the cases it physically arrives in.

So: send us your item list — code, description, how it arrives, and whether it needs lot/expiry tracking. We set them up, usually same day. For a first integration that is under a dozen items and takes one conversation.

GET /items works from day one, so you can always read back exactly what we hold and reconcile against your own master (permission ext.items.read).

Check the units array before you send quantities — this is the one that bites. It tells you exactly what we mean by each unit name:

"unit_of_measure": "Each",
"units": [
  { "level": 1, "unit": "Each",   "units_per": null, "base_qty": 1,   "is_base": true,  "is_tracking": false },
  { "level": 2, "unit": "Box",    "units_per": 10,   "base_qty": 10,  "is_base": false, "is_tracking": false },
  { "level": 3, "unit": "Case",   "units_per": 4,    "base_qty": 40,  "is_base": false, "is_tracking": true },
  { "level": 4, "unit": "Pallet", "units_per": 24,   "base_qty": 960, "is_base": false, "is_tracking": false }
]

Read it as: a Box is 10 Each · a Case is 4 Boxes, so 40 Each · a Pallet is 24 Cases, so 960 Each. units_per counts the level immediately below; base_qty is the total in base units, so you can convert either direction without assuming anything. is_base marks the smallest unit (order quantities are in it). is_tracking marks the unit our stock figures use (/inventory, /quarantine).

Why it matters: when you send {"uom": "Case", "quantity_expected": 24} on an ASN, we read that as 24 x 40 = 960 Each. If your case is 24 rather than 40, we would book 960 where you meant 576 — and neither of us would find out until someone counts the pallet. If the units array does not match how you actually pack, tell us before you send anything and we will correct it.

If your catalogue is large or changes constantly, tell us and we can enable POST /items for your account (permission ext.items.write) — the rest of this section describes how it behaves when we do.

It's an upsert keyed on client_code + code, case-insensitive. A create answers 201, an update answers 200, so you can tell which happened without diffing.

curl -X POST "https://app.rms3pl.com/api/external/v1/items" \
  -H "X-API-Key: $KEY" -H "Content-Type: application/json" \
  -d '{"client_code":"ACME","code":"VIT-D3-5000",
       "description":"Vitamin D3 5000IU 120ct",
       "unit_of_measure":"Case",
       "req_lot":"required","req_expiry":"required"}'
{ "sku_id": 4412, "code": "VIT-D3-5000", "status": "created" }

Absent means unchanged — this matters

On an update, any field you leave out keeps its current value. Only what you send changes. So a nightly description sync will not quietly wipe the lot and expiry rules on every SKU it touches.

null is different from absent: "barcode": null deliberately clears it.

Batch up to 200

Send {"items":[ ... ]} for a catalogue load. A batch always answers 200 — check each item's own status, because partial success is normal. One bad row does not reject the rest: each item is isolated, so a failure rolls back that item only and everything else still commits. Re-send just the rows that came back with status: "error". A row for another account's client_code comes back as an error with reason: "client_scope".

{ "created": 2, "updated": 0, "failed": 1,
  "results": [ { "code": "A-1", "status": "created", "sku_id": 4413 },
               { "code": "A-2", "status": "created", "sku_id": 4414 },
               { "code": "A-3", "status": "error", "error": "Unknown client_code \"NOPE\"" } ] }

What you can change on an item that already exists

Creating a new item accepts every field below. Updating one that already exists is deliberately narrower, because an item with inventory behind it is not just a label — changing how it is measured changes what our stock numbers mean.

By default you can update, on an existing item:

  • description, barcode
  • tightening a tracking requirement (e.g. req_lot optional → required)

Anything else — unit of measure, catch weight, allocation strategy, activation, or loosening a tracking requirement — comes back 422 naming the fields, and we make that change on our side. Just send us the request. If your integration genuinely needs broader write access, tell us and we can widen it for your account specifically.

Tracking rules, and what we won't let you change

The five tracking levels are each off, optional, or required: req_lot, req_expiry, req_mfg_date, req_external_lpn, req_serial. They decide what our dock will insist on when the goods arrive — set req_lot: "required" and a receipt without a lot number gets stopped.

Four changes are refused with 422, and the reason code tells you which:

Attempt Why
Lowering req_lot while stock is on hand Mixed lotted/lot-less stock of one SKU breaks expiry rotation and recall lookups. Ship out first, or use a new SKU code
Lowering req_lot on an FTL item Items on the FDA Food Traceability List are lot-tracked by law. Clear is_ftl in the same request if the categorization is wrong
Flipping is_catch_weight while stock is on hand The on-hand total would change meaning mid-life
Changing unit_of_measure while stock is on hand Quantities are stored against the current unit — switching it would keep the numbers and silently change what they mean (500 Each is not 500 Cases). Refused even for accounts with full write access

Tightening a requirement is always allowed.

Reading it back

GET /items?client_code=ACME — confirm what we actually hold, rather than assuming the sync landed. Also takes sku_code, active=true|false, limit (default 200, max 1000). X-Total-Count tells you how many matched.

Not settable here: the multi-level UOM hierarchy (each → case → pallet). If your items need more than a single unit, tell us and we'll set the levels up on our side — a flat sync shouldn't guess at packaging maths.


11. Stock on hold (quarantine)

GET /quarantine lists your stock on a DO-NOT-SELL hold. Permission ext.quarantine.read.

Why you need this: held stock is deliberately excluded from available in §5, because it is on-site but not sellable. So if your own books say you own 300 and we say 240 are available, this endpoint is where the other 60 went — broken down to lot and expiry, which is what a recall actually needs.

curl "https://app.rms3pl.com/api/external/v1/quarantine?lot_number=LOT-2026-08-01" \
  -H "X-API-Key: $KEY"
[{ "sku_code": "VIT-D3-5000", "client_code": "ACME", "warehouse_code": "WH1",
   "lot_number": "LOT-2026-08-01", "expiry_date": "2027-06-30",
   "quantity": 60, "quantity_uom": "Case",
   "mu_number": 14, "location_name": "01-02-03-01", "location_label": "A-03-1",
   "quarantined_at": "2026-08-02T06:04:37.050Z", "age_days": 8,
   "serials": [] }]

Filters: sku_code, lot_number, warehouse_code, client_code, min_age_days (holds at least this old), limit (default 200, max 1000).

location_name is our internal location code. location_label is the name printed on the shelf label in the warehouse; use it when you tell a person where the stock is.

Quantities are in the SKU's tracking UOM — the same convention as §5, so the numbers are directly comparable.

Your key sees only your data

Your API key is pinned to your account. client_code in a request is not how we decide whose data you get — we already know. If you ask for another client's code we answer 403, and if you omit it we simply use yours. Nothing you send can widen that.

About the hold reason

Whether we tell you why something is held is a setting your warehouse chooses, and it is off by default. When it is off, the hold_reason field is simply not present in the response — we would rather it be plainly absent than send you an empty field that looks like a bug.

The response header X-Hold-Reason-Disclosed: true|false tells you which mode your account is in, so you don't have to guess.

If knowing the reason matters for your process, ask us and we can enable it for your account. We never return which of our staff placed a hold.


12. Webhooks — we tell you, instead of you asking us

Rather than polling §4 on a timer, give us a URL and we POST to it within about 15 seconds of the event. Send us the URL (https) and the events you want. We set it up in RMS and send you the signing secret once. There is no self-service form.

Six events today:

Event Fires when Why you care
order.created We've accepted the order Confirmation it landed, without polling
order.staged Picked and staged, ready to leave On pickup accounts this is your "come and get it"
order.shipped Left the building Tell your customer it's on the way
order.cancelled The order was cancelled (by you, or by us) Stop waiting for it
order.corrected We corrected what shipped on a line (the truck took more or fewer than we recorded) Fix the shipped quantity on your side. Sent to every endpoint that gets order.shipped, after it
receipt.confirmed Our dock finished receiving a delivery Read what arrived, with lots: GET /receipts/{receipt_id}

Rather pull than be pushed? GET /events?after=<id> returns the same events, oldest first, each with an id. Keep the last id you saw (next_after in the answer) and ask again with it. An empty list means nothing new yet. Filter with type= (one type or a comma list). Needs the ext.events.read permission. Events are kept 90 days.

What arrives

POST https://your-url HTTP/1.1
Content-Type: application/json
X-RMS-Event: order.shipped
X-RMS-Event-Id: 4c038848-180a-4def-bb96-65cc7fa9939a
X-RMS-Timestamp: 1786402534
X-RMS-Signature: v1=4c4cf2841cc7a2ce...
X-RMS-Delivery-Attempt: 1
{ "type": "order.shipped", "api_version": "v1",
  "event_id": 18342, "occurred_at": "2026-11-06T17:55:30+00:00",
  "data": { "object": "order", "reference_number": "SO-100045", "order_id": 2252,
            "order_number": "ORD-000245",
            "tracking_number": "1Z999AA10123456784", "carrier": "UPS" } }

event_id is the same id the /events feed shows, so you can de-duplicate a push you also pulled.

tracking_number and carrier appear on order.shipped only. order.corrected carries the correction itself — one notice per corrected line, quantities in the line's unit:

{ "type": "order.corrected", "api_version": "v1",
  "data": { "object": "order", "reference_number": "SO-100045", "order_id": 2252,
            "correction": { "sku_code": "ACME-WIDGET-01", "uom": "Case",
                            "quantity_shipped_before": 20, "quantity_shipped": 18,
                            "reason": "Driver counted 18 at the dock",
                            "corrected_at": "2026-10-29T15:40:00Z" } } }

The other events carry just the identifiers (receipt.confirmed: receipt_id and reference_number).

The rest of the payload is deliberately thin. It tells you something happened, not the full state — because a retried event can arrive hours later, by which point an embedded snapshot would be out of date. Treat it as "look now", then call GET /orders?ref=SO-100045 (§4) for the authoritative state.

Verify the signature — please actually do this

Without verification, anyone who learns your URL can post fake shipments at you. We sign timestamp.body with HMAC-SHA256 using the secret we give you:

import hmac, hashlib
def verify(secret, timestamp, raw_body, received):
    expected = 'v1=' + hmac.new(secret.encode(),
                                f"{timestamp}.{raw_body}".encode(),
                                hashlib.sha256).hexdigest()
    return hmac.compare_digest(expected, received)

Use the raw request body, exactly as received — do not parse and re-serialise it, or the bytes change and the signature won't match. The timestamp is inside the signed material so an old captured request can't be replayed at you; reject anything more than a few minutes old.

Retries, and duplicates

Return 2xx to acknowledge. If your server is down, times out, or answers 5xx, 408 or 429, we retry: up to 9 more attempts after the first, backing off over about 27 hours, so an overnight outage on your side recovers by itself. Any other 4xx is not retried, because the same request would fail the same way: we record it as failed and look at it. Return 410 Gone if you want us to stop permanently.

Delivery is at-least-once. If your 200 gets lost you will see the same event twice — X-RMS-Event-Id is stable across retries, so de-duplicate on it. Anyone promising exactly-once over HTTP is guessing.

If your endpoint fails 20 times in a row we disable it and contact you, rather than retrying into the void forever.

Before you go live

Ask us to send a test event. It's a ping through the identical signing and delivery path, so if you can verify it, you're ready — better to find out then than on a real shipment. And note: registering subscribes you to what happens next. We never replay your back catalogue.


13. Not in v1

Being straight about the edges so you don't design around something that isn't there:

  • Returns — no external endpoint
  • Buying your postage for you — you supply the label and/or the tracking number; we don't rate-shop or purchase carrier labels on your behalf

If any of those are load-bearing for you, say which and we'll talk about sequencing rather than you working around it.


14. What we need from you

  1. Which parts you'll use: orders only, or orders + ASN + documents?
  2. Your client_code, and your item list (code / description / pack size)
  3. The carrier and service names you'll send
  4. Rough volumes — orders/day average and peak, lines/order
  5. Whether you need historical orders backfilled, or go-forward only
  6. Do your items need lot/batch tracking or expiry dates?
  7. A technical contact, and who to call if something breaks out of hours

Send 1–3 and we can get your test key issued.


15. Coming from Extensiv

The RMS API is the one described in §1 to §14, and it is the one to build on. But if your program calls Extensiv's 3PL Warehouse Manager API today, you do not have to rewrite it to move: point it at us and we translate its calls. We answer the calls below with Extensiv's paths, sign-in and answer layout, so only three settings change.

Extensiv Us
Address https://secure-wms.com https://app.rms3pl.com/api/external/compat/extensiv
Client ID your Extensiv client ID the first 17 characters of your key, starting with rms_live_ (or rms_test_ on a test key)
Client secret your Extensiv secret your whole key

The same key also works for everything else in this guide. It needs the permissions for what it reads: Inventory: read, Orders: read.

Sign in exactly as with Extensiv. The answer's access_token lasts one hour; send it as Authorization: Bearer <access_token>.

curl -X POST "https://app.rms3pl.com/api/external/compat/extensiv/AuthServer/api/Token" \
  -u "rms_live_xxxxxxxx:<your whole key>" \
  -H "Content-Type: application/json" \
  -d '{"grant_type":"client_credentials"}'

The calls we answer

Call What it gives
GET /inventory Every lot on hand, one row per pallet and lot. pgsiz (up to 1000), pgnum, rql, sort.
GET /orders Your orders. rql on referenceNum, readOnly.orderId, readOnly.status, readOnly.isClosed, readOnly.creationDate, readOnly.processDate; detail, itemdetail, sort, paging.
GET /orders/{id} One order. detail=All, itemdetail=Allocations or AllocationsWithDetail: each line with the pallets and lots it ships from, also after it has shipped.
curl "https://app.rms3pl.com/api/external/compat/extensiv/orders?detail=all&itemdetail=allocationswithdetail&rql=referenceNum==61663" \
  -H "Accept: application/json" -H "Authorization: Bearer <access_token>"

Both answer layouts. Accept: application/json gets Extensiv's plain layout (TotalResults, ResourceList, PascalCase names, order lines in OrderItems). Accept: application/hal+json gets the HAL layout (_embedded, camelCase names). Send what your program sends Extensiv today.

What is different from Extensiv

  • ID numbers are ours. Customer, SKU, order, pallet and location IDs are new. Match on SKU code, lot number and your own order number (referenceNum), not on Extensiv's ID numbers.
  • Customer and warehouse numbers in a filter are ignored on a key that belongs to one customer: the key already says who you are. Your program can keep sending them.
  • Fields with no value are left out, as Extensiv does. A few Extensiv-only fields never appear: billing charges, parcel options, row versions, dimensions.
  • Times are the warehouse's local time without a time zone, as in Extensiv. A time you send without a zone is read the same way.
  • Sending orders is ready too, in our own format: §2. Ask us for a test key for our test system first.

Tell us which fields your program reads, and send a sample request from your logs: we check each field against our answer before you switch over.