Technical detail

ShipHub

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.

.NET 10ReactOpenAPI 3.1HMAC webhooksPostgreSQL or SQL ServerContainers
Architecture

Components and connections

One reverse proxy; the rest on an internal network.

YOUR SITESSHIPHUBClarity Phoenix platformCONNECTED SYSTEMSStationsbrowser, keyboard-firstDimensionersTCP, framed readsScalesTCPLabel printersZebra ZPLEdge agentoutbound-only linkoffline print queueReverse proxyone published port, TLS at your edgeWeb appReact: station, store,freight, quotes, insightsPublic API/shiphub/v1, OpenAPI 3.1keys, tokens, idempotencyBack end (.NET 10): pipelines and hooksRating and decisioncarriers in parallelReview rulesversioned rule setsSourcingrank, rate, splitLTL and BOLclass, book, trackQuotesmarkup, margin floorAudit and insightsthree-way matchOutbox and scheduled taskssent once, retried with back-offDatabasePostgreSQL or SQL ServerPlatform servicescache, search, PDFWeb store, sitesweb components, embedsYour ERPorder source, write-backCarriersFedEx, UPS, USPSLTL adapter interfaceAI serviceoptional, masked inputWebhook receiversHMAC-signed events
Call directionShipHub partYour systems and partnersOptionalGrey bar: devices on the site network
Shipping admin: carrier pacing, review queue, devices and the write-back outbox (example figures).
Shipping admin: carrier pacing, review queue, devices and the write-back outbox (example figures).
ShipHub · Clarity VenturesTechnical detailPage 1 of 5
Data flow

Scan to label, step by step

The same engine serves the station and the API.

StationShipHubEdge agentCarriersERPWebhooksScan the pick ticket1Read order, lines and customer rules2Read box 1 from the dimensioner3Rate every carrier in parallel4Decide by rules, or send to review5Ship: label and tracking per box6Print ZPL labels, once7Write back via the outbox8shipment.created, signed9
Call or messageStep orderShipHub partYour systems and partners
Public API

Endpoints under /shiphub/v1

CallPurposeScope
POST /tokenKey to short-lived tokensecret key
POST /ratesRate and deciderates:read
POST /estimateCart freight, promisesestimate:read
POST /shipmentsLabels and write-backshipments:write
GET /shipments/{id}Packages, decisionshipments:read
POST /shipments/{id}/voidVoid, reverse in ERPshipments:void
GET /tracking/{no}Tracking eventstracking:read
POST /embed/launchSigned iframe linkembed:launch

Errors are application/problem+json. Ship and void take an Idempotency-Key.

The API reference page lists every call with the scope it needs.
The API reference page lists every call with the scope it needs.
16
operations in the public API, each with a scope
7
webhook event types, HMAC-SHA256 signed
3
parcel carrier adapters, plus an LTL interface
2
ERP contracts: order source and write-back
ShipHub · Clarity VenturesTechnical detailPage 2 of 5
Security

Built into every layer

  • Access: role-based permissions for shipping, management, admin and quoting; a separate right to view personal data.
  • Keys and secrets: API keys shown once, only a prefix kept; carrier credentials encrypted at rest.
  • Signed traffic: HMAC-signed webhooks with a replay window; signed, short-lived embed launches.
  • Privacy: ship-to masked in lists and the API; carrier payloads redacted; scheduled purge.
  • AI guardrails: masked input, cites only given evidence, template fallback when AI is off.
Hosting and deployment

A self-contained container stack

  • Containers: web app, back end, database, cache, search and PDF rendering.
  • One entry point: only the reverse proxy publishes a port; the rest is on an internal network.
  • Sites: the edge agent dials out, so warehouses need no inbound firewall rule.
  • Settings: modules are off until enabled; secrets come from environment files.
  • Operations: health endpoint, outbox dashboard, device heartbeats, scheduled tasks.
Webhooks

Signed events

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.

Adapters and formats
AdapterOperations
FedEx, UPS, USPSRate, ship (ZPL), void, track, address validation, connection test
LTL carriersRate, book, pickup, track, cancel, invoice
ERPNative and Epicor Prophet 21; others implement the two contracts
InvoicesFedEx CSV and EDI 210, UPS billing CSV, USPS EPS, manual
Freight audit: three-way match with an explanation that cites its evidence.
Freight audit: three-way match with an explanation that cites its evidence.
Station settings: express ship, rate behaviour and next-box keys per station.
Station settings: express ship, rate behaviour and next-box keys per station.
ShipHub · Clarity VenturesTechnical detailPage 3 of 5
Feature matrix

54 capabilities, part 1 of 2

Every capability below is part of ShipHub.

FeatureWhat it does (technical)Category / benefit
Ship station (parcel)
Scan-to-label station
Keyboard-first station UI · Enter, F2, F9, 1-3, Esc; touch-readyFewer clicks per box
Dimensioner capture
Weight and dims captured per box · Via edge agent; timeout, retry, manualAccurate weights
Multi-carrier rating
Parallel rating of mapped services · Per-carrier timeout; slow ones skippedLowest cost per box
Auto-select with reason
Cheapest, or fastest then cheapest · Gap in % or $; training mode; logConsistent choices
Express ship
One-key ship per station · Rates still stored; full view on F4Seconds per order
Labels, reprint, void
Label and tracking per package · ZPL 4x6; void window by roleClean corrections
Review queue
Rules R1-R9 open review items · Size, address, hazmat, duplicatesIssues caught early
Address validation
Carrier address check at scan · Timeout-guarded; feeds review rulesFewer address fees
Billable weight engine
Billable weight by carrier rules · Dim divisors; length plus girthRates match invoices
Shift pre-flight
Four device and link checks · Driven by edge agent heartbeatsReady for the rush
Rules and carriers
Carrier service mapping
ERP code to carrier services · Sets which service each carrier ratesFair comparisons
Customer shipping rules
Rules keyed by ERP customer id · Lock, then preference, then global; CSVHonors account terms
Versioned rules
Published, versioned rule sets · Earlier versions kept with authorAuditable changes
Carrier accounts
Credentials and onboarding · Encrypted at rest, never shown; OAuthFaster go-live
Carrier volume pacing
Spend projection per commitment · Annual net, gross or rolling 52 weeksProtects discounts
LTL freight
Freight class builder
Handling units, density, class · NMFC override needs a reasonFewer reclass bills
Automatic LTL routing
Routes freight orders to LTL step · LTL-only items; weight cutoff settingRight mode first
Priced accessorials
Accessorials priced in each quote · Codes sent with every rate requestNo surprise charges
LTL rate compare
LTL rating and recommendation · LTL adapter: rate, book, pickup, trackLower freight spend
BOL, labels and pickup
Booking, BOL PDF, pickup request · BOL check digit; PRO written backNo carrier portals
Freight board
LTL loads by status and ETA · Normalized tracking events per PROFreight visibility
Quoting
Phone freight quotes
Rep quote from the item master · Save, PDF, e-mail by shortcutQuote in seconds
Mixed spot quotes
Parcel + LTL lines, with versions · Address type sets accessorialsQuote complex jobs
Markup rules
Per customer and carrier pricing · Most specific rule wins, shown per lineProtects margin
Margin-floor approvals
Approval queue below the floor · Default 12%; per-customer overrideMargin discipline
Customer accept link
Public accept page, no sign-in · One accept per token; server expiryNo re-keying
Pre-flight: device and ERP checks.
Pre-flight: device and ERP checks.
LTL step: density-based class.
LTL step: density-based class.
Rates: parallel calls, one decision.
Rates: parallel calls, one decision.
ShipHub · Clarity VenturesTechnical detailPage 4 of 5
Feature matrix

54 capabilities, part 2 of 2

FeatureWhat it does (technical)Category / benefit
Network and stores
Order sourcing engine
Gather, filter, rank, rate, decide · Top candidates rated; split into legsBest ship-from site
Sourcing rule editor
Ranked rules, read-only dry run · Saved as versions; nothing writtenStrategy, no code
Re-source with reason
Re-source without one location · Frees reservations; records whyQuick recovery
Ship-from-store queue
Store queue on tablet, touch-ready · Daily cap, hours, time zone, dockUses store stock
Store pickup with code
Buy online, pick up in store · Code-try limit; hold window frees stockSmooth hand-offs
Transfers and restock
Min/max suggestions; parcel or LTL · Variances logged as exceptionsStores stay stocked
Network dashboard
KPIs by date, location and mode · Exceptions linked to ordersNetwork at a glance
Web store checkout
Delivery promises
Promises from sourcing rules · Also served by POST /estimateFewer status calls
Cartonization
Box-catalog packing for estimates · First-fit-decreasing, fill capsRealistic prices
Freight questions
Accessorial questions per LTL group · Volume threshold routes to a quoteAccurate freight
Free-ground nudge
Threshold progress at checkout · Applies per customerBigger 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 exportProves the value
Reports and exports
Report catalog; CSV and XLSX · Totals tie to the dashboardFewer spreadsheets
What-if calculator
What-if runs, threshold sweeps · Same decision engine as the stationTune with evidence
Freight invoice audit
Three-way match with findings · FedEx, UPS, USPS invoice files; manualRecover overcharges
AI explanations
Grounded, masked explanations · No new numbers; template fallbackFaster decisions
Guarantee refunds
Refund eligibility by service · Only eligible services proposedClaim refunds
Integration and platform
ERP order source
Two ERP contracts · Native and Epicor Prophet 21 adaptersERP stays current
Write-back outbox
Exactly-once queue with status · Back-off to 1 h; dead items reviewedNothing lost
Shipping REST API
Versioned API at /shiphub/v1 · OpenAPI 3.1, problem+json, idempotentShip from any system
Signed webhooks
Seven event types, at least once · HMAC-SHA256; 300 s window; event idsReal-time updates
Web embeds
Signed iframe and web components · Framing allow-list; origin-bound keysShipping in context
Edge device agent
Site agent, outbound WebSocket · Offline print queue; no double printsUses your hardware
Device Center
Device registry and commands · Heartbeat and active offline signalsLess downtime
Roles and permissions
Role-based permissions · Separate right to view personal dataRight access per job
Privacy controls
Masking, redaction, retention purge · Retention days, dry runLess data exposure
Modular switches
Per-module settings, default off · Wording and branding by settingStart small, grow
Network dashboard: KPIs by location (example figures).
Network dashboard: KPIs by location (example figures).

Talk to Clarity Ventures about a guided demo

Review the architecture, the API reference and an ERP adapter mapping with a Clarity engineer.

Book a guided demo
ShipHub · Clarity VenturesTechnical detailPage 5 of 5