Skip to main content

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.

LayerDetail
🔒 Cloudflare VPNService-token auth (all connections)
🔑 API callsBearer-token auth
📡 Outbound eventsMQTT (Arvist → broker)

Step ownership legend — used in every diagram below:

TagOwner
🟧 WMSWMS-owned step
🟦 ARVISTArvist (core product)
🟩 SERVICEArvist Integration Service (small custom service we build)
🟪 INFRAShared 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.

FieldTypeDescription
order_numberslistOrder number(s) associated with the shipment.
shipment_keystringUnique identifier for the shipment/order — whatever the WMS expects to identify it on write-back (a serialized ID or the order number).
typeenumInbound or Outbound.
supplier / customer_namestringSupplier name (inbound) or customer name (outbound).
created_atdatetime, optionalEither the time the order was created, or the expected ship/delivery time — whichever the WMS has available.
metadataobjectAny 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:

FieldTypeDescription
product_idstringUnique identifier for the line item / product — a serialized ID or SKU.
namestringProduct name.
skustringSKU.
expected_quantitynumberExpected quantity for this line item.
metadataobjectAny additional metadata that needs to be stored and referenced for that item.

Pallet Inspections (Load Verification)​

FieldTypeDescription
pallet_identifierslistList of LPNs / HU#s / etc. that identify the pallets that make up the order.
dock_doorstring, optionalDoor location, matched against the door location entered at the station. Only strictly required and enforced during automated inspections.

Reference Docs​

DocURL
Integrations (/sync routes)https://docs.arvist.app/api/integrations
Start triggerhttps://docs.arvist.app/api/start-shipment-processing
MQTT (integration-relevant)https://docs.arvist.app/mqtt#integration-shipment-started