Pipelines with hooks, a React web app, carrier and ERP adapters behind small contracts, a public API, and an edge agent that needs no inbound port.
One reverse proxy; the rest on an internal network.
The same engine serves the station and the API.
| Call | Purpose | Scope |
|---|---|---|
POST /token | Key to short-lived token | secret key |
POST /rates | Rate and decide | rates:read |
POST /estimate | Cart freight, promises | estimate:read |
POST /shipments | Labels and write-back | shipments:write |
GET /shipments/{id} | Packages, decision | shipments:read |
POST /shipments/{id}/void | Void, reverse in ERP | shipments:void |
GET /tracking/{no} | Tracking events | tracking:read |
POST /embed/launch | Signed iframe link | embed:launch |
Errors are application/problem+json. Ship and void take an Idempotency-Key.
shiphub.shipment.created |
shiphub.shipment.voided |
shiphub.shipment.delivered |
shiphub.storefront.order.created |
shiphub.audit.finding.created |
shiphub.estimator.quote.saved |
shiphub.test.ping |
HMAC-SHA256 over timestamp and raw body; dedupe on event id; reject after 300 s.
| Adapter | Operations |
|---|---|
| FedEx, UPS, USPS | Rate, ship (ZPL), void, track, address validation, connection test |
| LTL carriers | Rate, book, pickup, track, cancel, invoice |
| ERP | Native and Epicor Prophet 21; others implement the two contracts |
| Invoices | FedEx CSV and EDI 210, UPS billing CSV, USPS EPS, manual |
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 |
Review the architecture, the API reference and an ERP adapter mapping with a Clarity engineer.