TMS Integrations: Connect Routing, Tendering and Freight Status to the WMS
TMS Integration
Definition
Exchange of shipment and execution data between a transportation system and connected tools.
Overview
TMS Integration is the exchange of shipment and execution data between a transportation system and connected tools; when implemented to connect routing, tendering and freight status to the WMS it moves orders from release through shipment creation, carrier tender, dispatch and delivery updates automatically and reliably.
Proper TMS integration maps the events and data the WMS needs (order lines, packaging, weight, service level) to the TMS calls that perform routing, tendering and tracking, and it writes carrier responses back to the WMS so inventory and customer-facing systems reflect the live freight state.
What A TMS Integration Typically Covers
At minimum a TMS–WMS integration exchanges the messages needed to convert released orders into executed shipments and to keep status in sync. Typical message types and data elements include:
- Order Release: Order identifier, ship-from/ship-to addresses, SKU lines, quantities, required ship date, and packaging/unitization details.
- Shipment Creation: Consolidation rules, pallet counts, weight/dimensions, declared value, and requested service level.
- Tendering: Carrier selection, rate acceptance, tender ID, labels and documentation requests.
- Dispatch And Execution: Carrier acceptance, pickup confirmation, driver/vehicle details, and estimated pickup window.
- Status Updates: In-transit milestones (pickup, departure, arrival, delivery), exceptions, proof-of-delivery, and freight bill identifiers.
How The Workflow Is Mapped
Map each WMS event to a TMS action and back again. A straightforward mapping looks like this: order release in the WMS triggers a shipment creation request to the TMS; the TMS returns a shipment record and rate options; the WMS sends a tender instruction; the TMS routes and sends the tender to the carrier; carrier responses (accept/decline) and labels are written back; dispatch and status events stream into the WMS until final delivery and POD are attached.
Integration Methods And Patterns
Choose the transport for messages based on your SLA and partners: synchronous API calls for on-demand rates and immediate tender decisions; asynchronous APIs, webhooks, or EDI for status and post-tender events; and secure file drops for batch shipments. Implement idempotent operations so retries don’t create duplicates.
Handling Test Rejects, Duplicates And Carrier Changes
Testing and operational edge cases make or break a TMS integration. Plan for these scenarios explicitly:
- Test Rejects: Use a sandbox environment with representative rejects (invalid address, missing weight, prohibited item) and map error codes to actionable WMS responses so operators can correct and resubmit without manual data re-entry.
- Duplicates: Prevent duplicate shipments by checking immutable keys (order_id + release_timestamp or a generated shipment_uuid), using idempotency tokens on API calls, and reconciling outbound shipments nightly to catch duplicates created by retries.
- Carrier Changes: Support cancel/re-tender flows: when a carrier switch occurs, the WMS should send a cancellation to the original tender, update the shipment record, request new labels, and write the new carrier and rate back to inventory and billing records.
What Writeback Should Include
Writeback is the TMS-to-WMS push of execution results. Typical writeback fields the WMS should consume are:
- Carrier Assignment: Carrier code, SCAC, and service level.
- Carrier Identifiers: Pro/waybill numbers, tracking numbers, and bol references.
- Status Milestones: Timestamped events (picked up, departed, arrived, delivered), exception codes, and ETA updates.
- Documentation: Labels, manifests, POD images, and freight invoice IDs.
Practical Example Sequence
Example sequence for a single pallet B2B order: WMS marks order released → integration sends shipment create to TMS with weights/dimensions → TMS returns rates and a tentative shipment ID → WMS sends tender instruction selecting carrier X → TMS forwards tender; carrier accepts and returns a tender_accept event → TMS writes carrier assignment, PRO number and label to the WMS → carrier updates pickup and in-transit statuses via webhook/EDI to TMS, which relays status writebacks to the WMS → delivery event and POD file are written back and the WMS releases the invoice and updates inventory and customer notifications.
Integration Testing And Operational Controls
Test in phases: unit tests for schema validation, integration tests for full message flows, and UAT with production-like data. Include these controls:
- Schema Validation: Reject or flag messages with missing required fields and return clear error codes for correction workflows.
- Replay And Audit: Keep an immutable event log with original payloads for replay and dispute resolution.
- Monitoring: Alert on failed tenders, missing writebacks, and unexpected duplicates using dashboards and runbooks.
Best Practices And Tips
- Use Idempotency Keys: Ensure API calls include tokens so retries don’t create duplicate shipments.
- Normalize Master Data: Use consistent carrier codes, address formats and SKU identifiers between systems.
- Prefer Asynchronous Status Streams: Webhooks or message queues reduce polling and scale better for high-volume operations.
- Document Error Codes: Map TMS and carrier error codes to WMS operator actions to speed resolution.
- Segment Test And Prod: Keep sandbox credentials and test carriers separate to validate reject scenarios safely.
In short, TMS Integration moves orders from release to delivery by exchanging shipment and execution data between the TMS and WMS. A successful implementation maps shipment creation, tender, dispatch and status updates, handles rejects and duplicates, supports carrier changes and provides reliable writeback so operations, billing and customer communications remain accurate.
Sources And Additional Reading (4)
- Federal Motor Carrier Safety Administration
“Federal Motor Carrier Safety Administration.” U.S. Department of Transportation, https://www.fmcsa.dot.gov/.
- SAP Transportation Management
“SAP Transportation Management.” SAP, https://www.sap.com/products/transportation-management.html.
- FedEx Developer Portal
“FedEx Developer Portal.” FedEx, https://developer.fedex.com/.
- GS1 US
“GS1 US.” GS1 US, https://www.gs1us.org/.
More from this term
Looking for a 3PL?
Compare warehouses on Racklify and find the right logistics partner for your business.