WMS Integration
Arvist can integrate with the on-prem WMS through several patterns, all of which travel over the Cloudflare VPN tunnel with service-token authentication.
| Layer | Detail |
|---|---|
| 🔒 Cloudflare VPN | Service-token auth (all connections) |
| 🔑 API calls | Bearer-token auth |
| 📡 Outbound events | MQTT (Arvist → broker) |
Step ownership legend — used in every diagram below:
| Tag | Owner |
|---|---|
🟧 WMS | WMS-owned step |
🟦 ARVIST | Arvist (core product) |
🟩 SERVICE | Arvist Integration Service (small custom service we build) |
🟪 INFRA | Shared infrastructure (broker / tunnel) |
READ — WMS data flows INTO Arvist
How the on-prem Arvist system learns about shipments / orders from the cloud WMS.
Option 1 — Direct API Push (WMS-initiated)
Setup done ahead of time; WMS sends per-event on trigger, or in bulk via a scheduled cron job.
Option 2 — Webhook → Arvist Integration Service
Requires Arvist to build & host the small Integration Service ahead of time; WMS just needs a webhook target.
Option 3 — Arvist Polls WMS API
⚠️ Caveat: Not real-time — if the WMS changes an order after the last poll, Arvist's data is stale until the next poll. Cron can run as often as ~30 min, but whether that's safe depends on how quickly ops makes last-minute changes relative to that interval. Treat this as a fallback, not the first choice.
Option 4 — Alternate: Scan-Triggered "Start"
WMS-triggered, one scan per order. Best for fixed/named areas (e.g. packing stations); requires area-name coordination between teams; lets the user skip the manual "Start Inspection" click.
WRITE — Arvist results flow OUT to WMS
How completed Arvist inspection results get back into the WMS.
Option 1 — WMS Subscribes to MQTT
Real-time push; WMS owns the formatting and storage logic on their end.
Option 2 — Arvist Pushes to WMS API
Requires WMS API docs, understanding of the WMS process flow, and agreement on which endpoint/data to update to emulate a barcode scan.
Data Requirements by Inspection Type
Regardless of which integration option is used above, the following fields are what Arvist needs populated on read, and/or will reference on write-back, for each inspection type.
Global Shipment Data
Applies to every shipment / order, on top of whatever is required for the specific inspection type below.
| Field | Type | Description |
|---|---|---|
order_numbers | list | Order number(s) associated with the shipment. |
shipment_key | string | Unique identifier for the shipment/order — whatever the WMS expects to identify it on write-back (a serialized ID or the order number). |
type | enum | Inbound or Outbound. |
supplier / customer_name | string | Supplier name (inbound) or customer name (outbound). |
created_at | datetime, optional | Either the time the order was created, or the expected ship/delivery time — whichever the WMS has available. |
metadata | object | Any additional metadata that needs to be stored and referenced for the shipment. |
Product Inspections (Counting)
Each shipment carries a list of line_items; each line item needs:
| Field | Type | Description |
|---|---|---|
product_id | string | Unique identifier for the line item / product — a serialized ID or SKU. |
name | string | Product name. |
sku | string | SKU. |
expected_quantity | number | Expected quantity for this line item. |
metadata | object | Any additional metadata that needs to be stored and referenced for that item. |
Pallet Inspections (Load Verification)
| Field | Type | Description |
|---|---|---|
pallet_identifiers | list | List of LPNs / HU#s / etc. that identify the pallets that make up the order. |
dock_door | string, optional | Door location, matched against the door location entered at the station. Only strictly required and enforced during automated inspections. |
Reference Docs
| Doc | URL |
|---|---|
| Integrations (/sync routes) | https://docs.arvist.app/api/integrations |
| Start trigger | https://docs.arvist.app/api/start-shipment-processing |
| MQTT (integration-relevant) | https://docs.arvist.app/mqtt#integration-shipment-started |