Feature deep-dive

Cheapest-in-stock routing

Auto-pick the vendor with stock at the lowest wholesale, every line, every order.

Start free trial → All features

When a Shopify order arrives, every line item gets matched against every distributor that carries the same UPC. We filter to vendors with stock, sort by wholesale price, and submit to the cheapest in-stock vendor — automatically. Audit trail per line item shows you exactly why each decision was made.

How it works

Sub-second decisions

Decision logic runs in-process with the order webhook. No queue lag.

Per-line-item audit trail

Every routing decision logs the candidates considered, the chosen vendor, and the reason. Surfaced on the order detail page.

In-stock filter

Out-of-stock or discontinued products fall through to the next-cheapest vendor automatically. Configurable: prefer in-stock-anywhere over OOS-cheapest.

Time-bound override layer

Routing overrides for incentive programs run BEFORE default routing. Force-route a brand for a window without breaking the rest of your logic.

Cross-vendor UPC dedup

Same physical product carried by 3 distributors → 1 Shopify variant → 3 candidates considered per order.

Side-by-side

WhatOrdnanceSparkShipping
Decision latency< 50ms500ms+ (queue-based)
Audit trailPer-line-item, surfaced in UILogs only
Override layerNative, time-boundManual rules

Cheapest-in-stock routing FAQ

What if all vendors are out of stock?
Configurable. Default: route to the cheapest one anyway and flag the order. Alternative: hold the order and notify, or auto-cancel.
Can I prefer a specific vendor for a brand?
Yes — that's what routing overrides are for. Set it for a date window or open-ended.
What if a vendor's API is down at order time?
Failed submissions hit the dead-letter queue. Replay from /sync once the vendor is healthy. The reliability layer also runs retries with exponential backoff before failing.

See it in your tenant.

14-day trial · no card · cancel anytime.

Start free trial →