
How We Enable Two-Day Delivery in the Shopify Fulfillment Network - Shopify
8/18/2022
This post details the technical implementation of a platform-wide delivery date prediction system. It describes the creation of new GraphQL APIs for 3PLs to upload delivery dates, the integration of these dates into the storefront (product pages and checkout), and the specific system built by the SFN team to calculate and upload their delivery dates. The SFN calculation considers four key factors: proximity to destination, product characteristics (heavy, bulky, dangerous goods), fulfillment center processing times (operating days, holidays, capacity), and shipping carrier transit times (pickup schedules, capacity, time in transit). It also explains how schedules are generated and SKUs are mapped to them for efficient lookups, and how the displayed delivery date influences order fulfillment routing.