Start here
Architecture
System context, a reference architecture for implementers, the object model, and one shipment’s end-to-end lifecycle.
This page is the map. Each chapter covers one module in depth. This page shows how they fit together.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
System context, a reference architecture for implementers, the object model, and one shipment’s end-to-end lifecycle.
| Boundary | Guarantee it makes cheap |
|---|---|
| Idempotency store in front of domain services | A retried purchase returns the first response instead of buying a second label (chapter 00 §8) |
| Carrier adapters as the only mapping layer | Carrier disagreement is quarantined in one place. Domain services see canonical objects only (chapters 01 §6, 07). |
| Credential vault outside the domain | Secrets stay write-only and encrypted per account (chapter 00 §15) |
| Event bus between domain and dispatcher | Writes never wait on webhook receivers, and delivery is retried independently (chapter 08 §4) |
| Schedulers as first-class components | Pickup schedules, end-of-day close, tracker polling and route-run generation behave identically whether a human or a clock triggers them |
| Plan | Execution |
|---|---|
pickup_schedule | pickup |
route | route_run |
rate_sheet | rate |
catalog service | rate.service, shipment.purchase.service |
| Party | Role in a shipment | Mode it implements, or interfaces it uses | Objects it writes | Key operations | What the standard gives it |
|---|---|---|---|---|---|
| Merchant / shipper | Sells goods, creates shipments | Client of any mode | shipment, order, product, pickup_schedule | Rate, buy, void, pick up, close day | One integration for every carrier, network and 3PL |
| E-commerce platform / OMS | Acts for many merchants | Client with platform (token exchange, Shipping-Account) | shipment (injection), product (sync) | Upsert products, inject orders, embed rating | Ship for every merchant without per-carrier code |
| Marketplace | Sells for many sellers, often controls fulfilment | Client, or Network operator | shipment, injection, pricing_rule | Inject orders, set delivery promises | Promise dates computed from real journeys |
| Multi-carrier platform | Brokers access to carriers | Universal | connection, app, rate_quote | Fan out, normalize, federate | Federated carriers with no adapter code |
| Parcel carrier | Moves parcels on its network | Carrier | service, rate_sheet, route, tracking_event | Publish catalog, price, scan, deliver | Distribution through every platform at once |
| Postal operator | Universal service, international mail | Carrier (+ UPU mapping) | consolidation (sacks), conveyance | Receptacles, dispatches, customs pre-advice | UPU EDI and the e-commerce API as one model |
| Airline cargo | Line-haul by air | Carrier + Fleet | conveyance (flights), consolidation (ULDs), air_waybill documents | Book capacity, build ULDs, fly | ONE Record alignment, interline in networks |
| Ocean carrier | Line-haul by sea | Carrier + Fleet | conveyance (voyages), consolidation (containers) | Book, load, sail, discharge | DCSA alignment, door-to-door visibility |
| Freight forwarder / consolidator | Buys line-haul, consolidates | 3PL + Network member | consolidation, injection, customs_declaration | Consolidate, inject, broker | Own the journey across modes and partners |
| 3PL / fulfilment | Stores, picks, ships for merchants | 3PL | asn, injection, product, document | Receive, label, ship, subcontract | Inbound from any platform, outbound to any carrier |
| Carrier / LSP network | Market for many carriers | Network | interline_agreement, ledger_entry, settlement | Compose journeys, hand off, settle | Reach beyond any single member |
| Last-mile fleet | Final delivery | Fleet | route_run, vehicle, driver, POD | Optimize, dispatch, deliver | Tracking from operations, no extra integration |
| Drone operator | Autonomous delivery | Fleet | vehicle (drone), route_run | Dispatch within an operating area | Same API as vans |
| Import customs broker | Files the import entry and pays duties for the importer | Participant with trade, customs_declaration.import_broker | classification, landed_cost, duty_collection, release attestations | Classify, screen, file entry, clear | Complete, structured data before arrival |
| Export broker / filing agent | Files export declarations (AES/EEI, EU export system) | customs_declaration.export_broker | export_declaration (ITN, MRN), attestations | Screen, file, obtain ITN or MRN before loading | Export filing from the same item data as the import |
| IOR / EOR service provider | Acts as importer or exporter of record for sellers with no local entity | customs_declaration.importer_of_record / exporter_of_record | Contacts with tax IDs, landed_cost guarantees | Take legal responsibility, remit duties and VAT | Cross-border selling without a foreign entity |
| Customs authority | Regulates the border | Data network participant (read) | Attestations (release, hold) | Receive pre-arrival data, release | Verifiable, tamper-evident filings |
| Insurer / financier | Covers loss, finances goods | Data network participant via grants | Attestations (claims) | Verify custody and condition | Claims settled on signed evidence |
| IoT and device vendor | Captures physical events | iot devices | device_event | Scan, sense, locate | One ingestion interface for every customer |
| End consumer | Receives goods | Pairwise participant, tracking page | Attestations (receipt) | Track, collect, confirm, return | Privacy by default, one timeline |
| Data node | Keeps the shared record | Data Network | record, anchor | Store, anchor, release keys | Neutral infrastructure for the whole network |
| If you are | Read |
|---|---|
| Building a client or an agent | shipping.md, then Conventions, Rates, Shipments, Tracking, Webhooks |
| Implementing a universal API | The above, then Connections and Conformance |
| A carrier, 3PL or fleet | Modes, then Catalog, Pricing, Routes, and Trade or Fleet |
| A network operator | Networks, Injection, Merchants & Identity |
| Moving consolidated freight (air, ocean, postal) | Consolidation, IoT, Standards mapping |
| Building shared data infrastructure | Data Network |