---
title: "How We Enable Two-Day Delivery in the Shopify Fulfillment Network"
description: "Shopify Fulfillment Network shows two-day delivery dates by precomputing them rather than calculating them at request time."
url: "https://swe.quest/articles/how-we-enable-two-day-delivery-in-the-shopify-fulfillment-network-13466dc6ee96817e"
canonical: "https://shopify.engineering/two-day-delivery-shopify-fulfillment-network"
source: "Shopify Engineering"
published: "2022-08-18"
difficulty: "easy"
kind: "Case study"
reading_minutes: 6
tags: ["ecommerce","system-design","api-design"]
---

# How We Enable Two-Day Delivery in the Shopify Fulfillment Network

A post on [Shopify Engineering](https://swe.quest/sources/shopify.md), published 2022-08-18, 6 min read, Case study. Original: [https://shopify.engineering/two-day-delivery-shopify-fulfillment-network](https://shopify.engineering/two-day-delivery-shopify-fulfillment-network)

## Summary

Shopify Fulfillment Network shows two-day delivery dates by precomputing them rather than calculating them at request time. Each third-party logistics provider uploads its own delivery dates through new GraphQL platform APIs, which keeps the core platform from forcing fine-grained primitives on every provider. SFN builds its dates from inventory proximity, carrier restrictions on heavy or hazardous goods, warehouse calendars and capacity, and carrier pickup times, capacity and transit days. To cut data volume, SKUs that share fulfillment centers and physical traits map to shared schedules, so a delivery date lookup at checkout takes under 100 ms and the promised date later guides order routing.

Written by swe.quest, not by the author.

**Difficulty:** Easy: no special background needed; explains what something is and why it matters

## Topics

- [E-commerce](https://swe.quest/tags/ecommerce.md) (Domains)
- [System design](https://swe.quest/tags/system-design.md) (Architecture & design)
- [API design](https://swe.quest/tags/api-design.md) (Backend & APIs)

## Keywords

Shopify Fulfillment Network, GraphQL, UPS, USPS

## Related posts

- [How Shopify Built An In-Context Analytics Experience](https://swe.quest/articles/how-shopify-built-an-in-context-analytics-experience-bced6498ed610bad.md): Shopify Engineering · 2021-05-25 · Medium · 14 min read · Analytics & OLAP, Data pipelines, Product engineering, Stream processing, E-commerce
  Shopify embedded order and fulfillment metrics directly into the admin Orders page instead of keeping them in a separate Analytics section, after research showed merchants bouncing between pages to make decisions.
- [How we prepare Shopify for BFCM](https://swe.quest/articles/how-we-prepare-shopify-for-bfcm-4b4a641105e86a3e.md): Shopify Engineering · 2025-11-20 · Medium · 8 min read · Chaos engineering, Capacity planning, Scaling, SRE, E-commerce
  Shopify readies for Black Friday Cyber Monday with a year-long program that runs from March to October.
- [How to Reliably Scale Your Data Platform for High Volumes](https://swe.quest/articles/how-to-reliably-scale-your-data-platform-for-high-volumes-d29cb64aded6f294.md): Shopify Engineering · 2020-12-08 · Medium · 9 min read · SRE, Capacity planning, Data pipelines, Scaling, Resilience
  Shopify's Data Platform Engineering team prepared Tier 1 and Tier 2 ingestion and query services for a forecast near-doubling of BFCM 2020 traffic with a five-step reliability process.
- [Rate Limiting GraphQL APIs by Calculating Query Complexity](https://swe.quest/articles/rate-limiting-graphql-apis-by-calculating-query-complexity-58ede655d49d3a42.md): Shopify Engineering · 2021-06-22 · Medium · 6 min read · GraphQL, API design, Resilience
  Shopify's GraphQL Admin API rate-limits by calculated query cost instead of request count: clients get 50 points per second up to a 1,000-point bucket, and each query is priced by static analysis before execution.
- [Creating a Flexible Order Routing System with Shopify Functions](https://swe.quest/articles/creating-a-flexible-order-routing-system-with-shopify-functions-913fde626973c1ef.md): Shopify Engineering · 2023-04-13 · Medium · 8 min read · E-commerce, System design, WebAssembly, Rust
  Shopify rebuilt its order routing, which picks the inventory location an order ships from, around composable "routing rules".

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
