Pipelines with hooks, a React web app, carrier and ERP adapters behind small contracts, a public API with signed webhooks, and an edge agent that brings dock hardware online without an inbound port.
One reverse proxy; the rest on an internal network.
Order source and write-back; screens and API stay the same for any ERP adapter.
Per-carrier timeouts, an exactly-once outbox, an offline print queue.
Scoped keys, signed webhooks, encrypted credentials, masked ship-to.
| Component | Role | Notes |
|---|---|---|
| Web app | Station, store, freight, quotes, insights, admin | React; keyboard-first station; tablet-ready store and freight screens |
| Public API | /shiphub/v1 for other systems | OpenAPI 3.1 reference; scoped keys; idempotent ship and void |
| Back end | Pipelines: lookup, capture, rate, decide, ship, write back | .NET 10 on the Clarity Phoenix platform; extended through hooks |
| Rules | Versioned rule sets | Thresholds, review rules R1 to R9, customer rules, sourcing rules |
| Outbox | ERP updates and webhook deliveries | Sent once, retried with back-off, dead items open a review |
| Edge agent | Dimensioners, scales, label printers | Dials out over WebSocket; offline print queue; config hot reload |
| Data | Shipments, packages, rates, decisions | PostgreSQL or SQL Server; cache, search and PDF services |
Projects add behaviour through pipeline hooks, behind settings.
The station, the API and the calculator share one decision engine.
Devices are reached through an agent that dials out.
The same engine serves the station and the API.
| Call | Purpose | Scope |
|---|---|---|
POST /token | Key to token | secret key |
POST /rates | Rate and decide | rates:read |
POST /estimate | Cart promises | estimate:read |
POST /shipments | Labels, write-back | shipments:write |
GET /shipments | List, ship-to masked | shipments:read |
GET /shipments/{id}/labels | ZPL per package | labels:read |
POST /shipments/{id}/void | Void and reverse | shipments:void |
GET /tracking/{no} | Tracking events | tracking:read |
GET /status | Status embed data | tracking:read |
POST /embed/launch | Signed iframe link | embed:launch |
Shipment created, voided and delivered; web store order created; audit finding created; quote saved; test ping. HMAC-SHA256 over timestamp and raw body; dedupe on the event id; reject after 300 seconds.
A signed, short-lived iframe launch with a framing allow-list, or web components for rates, freight estimates and shipment status, using a publishable key bound to your origins.
We describe controls; we make no certification claim.
LTL on a small shipment, residential mismatch, address the carrier could not confirm, carrier unavailable or unmapped, weight or size limits, dangerous goods, third-party account missing, already shipped, duplicate scan. Each opens a review item with a plain reason.
Minimise splits, freight to docks, same market, closest, lowest cost, store capacity cap, and an optional peak exclusion. The first rule that separates two locations decides; the decision is stored and explained.
| Area | What is configured |
|---|---|
| Carrier mapping | ERP carrier codes to like-for-like FedEx, UPS and USPS services |
| Rate rules | Automatic choice, threshold, training mode, review rules; published as versions |
| Customer rules | Freight terms, markup, carrier lock, third-party billing, signature; CSV import |
| API keys, webhooks | Scoped keys, endpoints and signing secrets, an embed tester and API explorer |
| Module | Settings that switch it on |
|---|---|
| Sourcing and network | SourcingEnabled, SourcingIncludeStores, SourcingMaxLegs, NetworkDashboardEnabled |
| Stores | StoreQueueEnabled, StorePickupEnabled, PickupCodeMaxTries |
| Transfers | TransfersEnabled, ReplenishmentEnabled, TransferLtlWeightLb |
| LTL freight | LtlBookingEnabled, LtlProvider, LtlCarriers |
| Spot quotes | SpotQuotesEnabled, QuoteApprovalEnabled, QuoteMarginFloorPct |
| Checkout and source | StorefrontEstimateEnabled, OrderSourceKey |
Every capability below is part of ShipHub.
| Feature | What it does (technical) | Category / benefit |
|---|---|---|
| Ship station (parcel) | ||
Scan-to-label station | Keyboard-first station UI ยท Enter, F2, F9, 1-3, Esc; touch-ready | Fewer clicks per box |
Dimensioner capture | Weight and dims captured per box ยท Via edge agent; timeout, retry, manual | Accurate weights |
Multi-carrier rating | Parallel rating of mapped services ยท Per-carrier timeout; slow ones skipped | Lowest cost per box |
Auto-select with reason | Cheapest, or fastest then cheapest ยท Gap in % or $; training mode; log | Consistent choices |
Express ship | One-key ship per station ยท Rates still stored; full view on F4 | Seconds per order |
Labels, reprint, void | Label and tracking per package ยท ZPL 4x6; void window by role | Clean corrections |
Review queue | Rules R1-R9 open review items ยท Size, address, hazmat, duplicates | Issues caught early |
Address validation | Carrier address check at scan ยท Timeout-guarded; feeds review rules | Fewer address fees |
Billable weight engine | Billable weight by carrier rules ยท Dim divisors; length plus girth | Rates match invoices |
Shift pre-flight | Four device and link checks ยท Driven by edge agent heartbeats | Ready for the rush |
| Rules and carriers | ||
Carrier service mapping | ERP code to carrier services ยท Sets which service each carrier rates | Fair comparisons |
Customer shipping rules | Rules keyed by ERP customer id ยท Lock, then preference, then global; CSV | Honors account terms |
Versioned rules | Published, versioned rule sets ยท Earlier versions kept with author | Auditable changes |
Carrier accounts | Credentials and onboarding ยท Encrypted at rest, never shown; OAuth | Faster go-live |
Carrier volume pacing | Spend projection per commitment ยท Annual net, gross or rolling 52 weeks | Protects discounts |
| LTL freight | ||
Freight class builder | Handling units, density, class ยท NMFC override needs a reason | Fewer reclass bills |
Automatic LTL routing | Routes freight orders to LTL step ยท LTL-only items; weight cutoff setting | Right mode first |
Priced accessorials | Accessorials priced in each quote ยท Codes sent with every rate request | No surprise charges |
LTL rate compare | LTL rating and recommendation ยท LTL adapter: rate, book, pickup, track | Lower freight spend |
BOL, labels and pickup | Booking, BOL PDF, pickup request ยท BOL check digit; PRO written back | No carrier portals |
Freight board | LTL loads by status and ETA ยท Normalized tracking events per PRO | Freight visibility |
| Quoting | ||
Phone freight quotes | Rep quote from the item master ยท Save, PDF, e-mail by shortcut | Quote in seconds |
Mixed spot quotes | Parcel + LTL lines, with versions ยท Address type sets accessorials | Quote complex jobs |
Markup rules | Per customer and carrier pricing ยท Most specific rule wins, shown per line | Protects margin |
Margin-floor approvals | Approval queue below the floor ยท Default 12%; per-customer override | Margin discipline |
Customer accept link | Public accept page, no sign-in ยท One accept per token; server expiry | No re-keying |
| Feature | What it does (technical) | Category / benefit |
|---|---|---|
| Network and stores | ||
Order sourcing engine | Gather, filter, rank, rate, decide ยท Top candidates rated; split into legs | Best ship-from site |
Sourcing rule editor | Ranked rules, read-only dry run ยท Saved as versions; nothing written | Strategy, no code |
Re-source with reason | Re-source without one location ยท Frees reservations; records why | Quick recovery |
Ship-from-store queue | Store queue on tablet, touch-ready ยท Daily cap, hours, time zone, dock | Uses store stock |
Store pickup with code | Buy online, pick up in store ยท Code-try limit; hold window frees stock | Smooth hand-offs |
Transfers and restock | Min/max suggestions; parcel or LTL ยท Variances logged as exceptions | Stores stay stocked |
Network dashboard | KPIs by date, location and mode ยท Exceptions linked to orders | Network at a glance |
| Web store checkout | ||
Delivery promises | Promises from sourcing rules ยท Also served by POST /estimate | Fewer status calls |
Cartonization | Box-catalog packing for estimates ยท First-fit-decreasing, fill caps | Realistic prices |
Freight questions | Accessorial questions per LTL group ยท Volume threshold routes to a quote | Accurate freight |
Free-ground nudge | Threshold progress at checkout ยท Applies per customer | Bigger orders |
Rating fallback | Zone and weight table fallback ยท Answer marked "estimated" | Never stalls |
| Insights and audit | ||
Shipping dashboard | KPIs with rate-shop savings ยท Method shown; CSV export | Proves the value |
Reports and exports | Report catalog; CSV and XLSX ยท Totals tie to the dashboard | Fewer spreadsheets |
What-if calculator | What-if runs, threshold sweeps ยท Same decision engine as the station | Tune with evidence |
Freight invoice audit | Three-way match with findings ยท FedEx, UPS, USPS invoice files; manual | Recover overcharges |
AI explanations | Grounded, masked explanations ยท No new numbers; template fallback | Faster decisions |
Guarantee refunds | Refund eligibility by service ยท Only eligible services proposed | Claim refunds |
| Integration and platform | ||
ERP order source | Two ERP contracts ยท Native and Epicor Prophet 21 adapters | ERP stays current |
Write-back outbox | Exactly-once queue with status ยท Back-off to 1 h; dead items reviewed | Nothing lost |
Shipping REST API | Versioned API at /shiphub/v1 ยท OpenAPI 3.1, problem+json, idempotent | Ship from any system |
Signed webhooks | Seven event types, at least once ยท HMAC-SHA256; 300 s window; event ids | Real-time updates |
Web embeds | Signed iframe and web components ยท Framing allow-list; origin-bound keys | Shipping in context |
Edge device agent | Site agent, outbound WebSocket ยท Offline print queue; no double prints | Uses your hardware |
Device Center | Device registry and commands ยท Heartbeat and active offline signals | Less downtime |
Roles and permissions | Role-based permissions ยท Separate right to view personal data | Right access per job |
Privacy controls | Masking, redaction, retention purge ยท Retention days, dry run | Less data exposure |
Modular switches | Per-module settings, default off ยท Wording and branding by setting | Start small, grow |
Engine tests with golden files, carrier contract tests that replay recorded responses, pipeline tests and browser end-to-end tests. A dry run for sourcing and a training mode for stations.
A health endpoint, the outbox (pending, failed, dead, sent today), device heartbeats, the review queue and exceptions on the network dashboard.
Order source and write-back for ERPs; one adapter interface per carrier.
Timeouts, an exactly-once outbox, offline print queue, fallback rates.
Scoped keys, signed traffic, encrypted secrets, masked data.
Review the architecture, the API reference and an ERP adapter mapping with a Clarity engineer.