How to Connect a TMS to Your 3PL: Rates, Loads & Tracking

3PL
Definition
Third-Party Logistics: an external provider that manages outsourced logistics services such as warehousing, order fulfillment, picking/packing, shipping, and returns on behalf of a shipper or retailer.
Overview
3PL integrations work by exchanging orders, rate quotes, load tenders, status updates and proof-of-delivery between your Transportation Management System (TMS) and the 3PL's execution systems (WMS/OMS/carrier portals) using APIs, EDI, SFTP or webhooks. To connect a TMS to a 3PL you map order and shipment data, enable rate-shopping in the TMS, tender confirmed loads to the 3PL/carrier, then consume tracking and POD events back into the TMS for settlement and freight audit.
The steps that follow explain the common message flows, the practical API/EDI checklist, a minimal workflow diagram specification you can hand to engineers, robust test cases, and clear rules for ownership and exception resolution so operations aren’t left guessing when events fail.
Core End-To-End Workflow (high-level)
At a high level the integration follows these phases:
- Order Creation: The shipper’s OMS/ERP or TMS creates shipments (lines, weight, dims, delivery windows, special instructions) and assigns reference IDs (PO, SO, customer reference).
- Rate Shopping: The TMS queries carrier/3PL rates and compares options (FTL/LTL, service levels); rates may be returned in real time via API or batched via EDI/flat file.
- Load Tender: The TMS builds a tender (preferred carrier, equipment, planned pickup/delivery windows, BOL/Packing info) and sends it to the 3PL or carrier.
- Execution & Tracking: The 3PL/WMS executes pick/pack/dispatch, hands load to carrier; carriers produce tracking events (pick, in-transit, delivery) and PODs which feed back to the TMS/ERP.
- Freight Audit & Payment: The TMS compares carrier/3PL invoices against tendered rates, tracking, and PODs; discrepancies feed a freight audit workflow for resolution.
Simple Workflow Diagram Specification You Can Share With Engineers
Provide this minimal diagram spec to developers or integrators. Treat arrows as message flows; number messages in sequence.
- Node A — OMS/ERP/TMS: Source of truth for orders and shipment intent.
- Node B — Integration/Middleware (optional): Message transformation, orchestration, retry logic (recommended for enterprise integrations).
- Node C — 3PL WMS/Execution System: Receives pick/pack instructions and tender; controls warehouse actions.
- Node D — Carrier Systems / Carrier APIs: Accept tenders, provide tracking, POD, and invoice.
Message Sequence (numbered): 1) Order/Shipment (JSON/EDI 850/830) from A→B→C; 2) Rate request (A→D or A→C→D) and response; 3) Tender (EDI 204 / API POST / file) A→B→C→D; 4) Tender acceptance/dispatch confirmation (ACK/204 response) D→C→B→A; 5) Tracking events (EDI 214 / webhooks) D→B→A; 6) POD (image/file or EDI 990/manifest) D→C→A; 7) Invoice (EDI 210 or PDF) D→B→A; 8) Freight audit & payment reconciliation A↔B.
API / EDI Checklist
- Authentication: OAuth 2.0 or mutual TLS for APIs; credentialed SFTP for file drops; rotate keys periodically.
- Message Standards: Support for X12 transactions (204 — Motor Carrier Load Tender, 214 — Carrier Shipment Status, 856 — ASN, 210 — Freight Invoice) where EDI is required; for APIs, provide endpoint specs (POST /tenders, GET /rates, POST /events).
- Required Fields: PO/SO number, SKU, quantity, weight, dimensions, ship-from/ship-to (GLN or full address), pickup/delivery windows, incoterms/BOL reference, SSCC for pallet IDs where used.
- Reference IDs: Clearly designate authoritative ID fields: PO: purchase order, SO: sales order, SSCC: pallet identifier, BOL/PRO: carrier freight references.
- Environments: Separate sandbox/test and production endpoints; list cutoff times, expected SLA for message responses.
- Error Handling: Synchronous error codes for API calls; EDI acknowledgements (997) for EDI; documented retry/backoff rules and dead-letter handling.
- Schema Versions: Lock managed schema versions; deprecate with notice windows (30–90 days).
- Security & Compliance: TLS 1.2+/encryption at rest, role-based access, logging, and PII handling rules.
Key Data Elements And Reference IDs To Standardize
- Ship-From/Ship-To Identifiers: Use GLN or consistent internal location IDs to avoid address ambiguity.
- SKU & Item IDs: Map ERP SKUs to 3PL SKUs; include UPC/GTIN when available.
- SSCC/Label IDs: For palletized freight include serial shipping container code (SSCC).
- BOL/PRO: Carrier-assigned BOL and PRO numbers captured at tender/dispatch.
- Event Timestamps: ISO 8601 timestamps for pickup, departure, and delivery events.
Test Cases (minimal, must-pass set)
- Successful Tender Acceptance: Create shipment → rate-shop → tender → 3PL accepts → carrier ACK → track to delivery.
- Tender Rejection (Business Rule): Tender rejected for weight or equipment mismatch; expect rejection code and human-readable reason; validate automated failover or re-tender.
- Tracking Gaps & Late Events: Simulate missing in-transit event then a delivery event; verify TMS flags exception and notifies operations.
- POD Receipt: Deliver and send POD image; TMS validates POD linked to PO and clears freight audit hold.
- Invoice Mismatch: Carrier invoice overcharged vs. tender; TMS flags for freight audit and generates dispute file to 3PL/carrier.
- Negative Path — Invalid Address: Send invalid destination; expect actionable error and human escalation path.
Who Owns Data And Who Resolves Failed Events
Ownership should be defined contractually and enforced in the integration design. As a practical rule:
- Order/Shipment Data: Owned by the shipper or the shipper's OMS/ERP — they must correct incorrect SKUs, PO numbers, or address data.
- Execution Events (Pick/Packed/Dispatched): Owned by the 3PL/WMS — warehouse discrepancies (short picks, wrong items) are resolved by 3PL operations.
- Carrier-Related Events (Tracking, POD, Damage Claims): Owned by the carrier for transit events; the 3PL coordinates with carriers for claims and collects PODs to pass back to TMS.
- Rate & Invoice Disputes: The shipper/TMS owns rate agreement and payment; freight audit teams (shipper or 3PL-managed) triage disputes and engage carriers/3PLs to reconcile.
Operational guidance: encode ownership in message metadata (originator_id, owner_role) so automated alerts route to the correct inbox or ticket queue. Establish escalation SLAs (e.g., 2 hours for tender rejections, 24–72 hours for invoice disputes).
TMS Versus WMS — Clear Responsibilities
The TMS is responsible for transport planning: rate-shopping, carrier selection, route optimization, tendering, tracking consolidation, and freight settlement. The WMS (usually run by the 3PL) handles inventory, picking, packing, staging, manifest generation and physical warehouse operations. Integrations must reflect that split: the WMS confirms physical readiness (picks, pallets staged) while the TMS controls which carrier and service level the shipment uses.
Practical Examples
- Example 1 — Regional LTL Ship: TMS rate-shops across contracted LTL partners, selects carrier, sends EDI 204 tender to 3PL (or directly to carrier) with SSCC pallet IDs; carrier returns 214 tracking; on delivery the carrier sends POD image to 3PL which forwards to TMS for freight audit.
- Example 2 — E-commerce Parcel + 3PL Fulfillment: TMS sends shipment intent to 3PL WMS via API (order lines and ship-to). The 3PL packs and returns parcel-level tracking (carrier tracking numbers). The TMS collects tracking for customer notifications and for returns processing.
Focused FAQ
- How long does integration take? It depends on scope: simple rate-and-tender via API can be weeks; full EDI + WMS mapping + freight audit workflows commonly take 8–12 weeks with prioritized resources.
- Can I keep my carrier accounts? Yes — most TMS/3PL integrations support shipper-carrier accounts; confirm billing and invoice flows during design to avoid double-billing.
- Who owns shipment history after delivery? Data ownership should be contractual; operationally both shipper and 3PL should retain event and POD records — ensure retention policies and access controls are defined.
- Where can I find a 3PL with open APIs? Search Racklify’s provider directory under Providers → Fulfillment → 3PL and filter on API/EDI capability in the vendor profiles; Racklipedia also has background coverage on selecting a 3PL to help evaluate integrations.
In short, the 3PL connection to your TMS is built on clear, agreed message contracts (API or EDI), standardized reference IDs, a small set of must-pass test cases, and explicit ownership rules for events and data. Start with a minimal integration (orders, tenders, tracking, POD) and expand to invoice and freight audit once the basic flows are stable.
Sources And Additional Reading (4)
- Electronic data interchange (EDI)
“Electronic data interchange (EDI).” IBM, https://www.ibm.com/topics/edi.
- X12 EDI Standards
“X12 EDI Standards.” X12, https://x12.org/.
- Global Location Number (GLN)
“Global Location Number (GLN).” GS1, https://www.gs1.org/standards/id-keys/gln.
- What Is A Transportation Management System (TMS)?
“What Is A Transportation Management System (TMS)?” Inbound Logistics, https://www.inboundlogistics.com/cms/article/what-is-a-transportation-management-system/.
More from this term
Looking for a 3PL?
Compare warehouses on Racklify and find the right logistics partner for your business.