Implement a delivery function that captures cart and address data at checkout, then invoke both ShipEngine and Shopify's native rates in parallel. Return whichever set of rates responds within 800ms. Log timeout events to a monitoring dashboard so reliability can be tracked and the threshold adjusted as needed.
A Shopify Plus merchant needs live carrier rates at checkout without stalling the transaction. When a third-party rate engine takes too long to respond, checkout must fall back to Shopify's native rates automatically. The merchant requires sub-second reliability at the moment of purchase.
Four pieces
Shipping
Delivery Rates Function
Captures the cart and delivery address at checkout, then decides which rate engine to use based on response speed.