---
title: "How we use GraphQL at Europe's largest fashion e-commerce company"
description: "Zalando replaced a sprawl of per-page and per-platform Backend-for-Frontend services with a single unified GraphQL API owned via a shared monorepo across 12+ domain teams."
url: "https://swe.quest/articles/how-we-use-graphql-at-europe-s-largest-fashion-e-commerce-company-98c53d6b8b858147"
canonical: "https://engineering.zalando.com/posts/2021/03/how-we-use-graphql-at-europes-largest-fashion-e-commerce-company.html"
source: "Zalando Engineering"
published: "2021-03-03"
difficulty: "easy"
kind: "Case study"
reading_minutes: 6
tags: ["graphql","api-design","microservices","ecommerce","resilience"]
---

# How we use GraphQL at Europe's largest fashion e-commerce company

A post on [Zalando Engineering](https://swe.quest/sources/zalando.md), published 2021-03-03, 6 min read, Case study. Original: [https://engineering.zalando.com/posts/2021/03/how-we-use-graphql-at-europes-largest-fashion-e-commerce-company.html](https://engineering.zalando.com/posts/2021/03/how-we-use-graphql-at-europes-largest-fashion-e-commerce-company.html)

## Summary

Zalando replaced a sprawl of per-page and per-platform Backend-for-Frontend services with a single unified GraphQL API owned via a shared monorepo across 12+ domain teams. The BFFs had duplicated effort, fragmented security and observability, and produced inconsistent data across web and app. The graph is built on Entities such as Product and Campaign and runs on their own GraphQL engine, graphql-jit, under a strict no-business-logic rule. Since 2018 it has grown to serve over 80% of web and 50% of app use cases, with adoption driven by documentation, training and schema consultation, and god-component risk handled through contribution principles, circuit breakers, timeouts, retries and per-platform bulkhead deployments.

Written by swe.quest, not by the author.

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

## Topics

- [GraphQL](https://swe.quest/tags/graphql.md) (Backend & APIs)
- [API design](https://swe.quest/tags/api-design.md) (Backend & APIs)
- [Microservices](https://swe.quest/tags/microservices.md) (Backend & APIs)
- [E-commerce](https://swe.quest/tags/ecommerce.md) (Domains)
- [Resilience](https://swe.quest/tags/resilience.md) (Distributed systems)

## Prerequisites

- GraphQL basics ([easy posts on GraphQL](https://swe.quest/tags/graphql.md?difficulty=easy))
- microservice architecture ([easy posts on System design](https://swe.quest/tags/system-design.md?difficulty=easy))

## Keywords

GraphQL, Backend-for-Frontend, graphql-jit, Zalando, Bulkhead pattern

## Related posts

- [Micro Frontends: from Fragments to Renderers (Part 1)](https://swe.quest/articles/micro-frontends-from-fragments-to-renderers-part-1-6d1454b8ffffb834.md): Zalando Engineering · 2021-03-10 · Easy · 6 min read · Frontend, System design, React, GraphQL, Design systems
  Zalando replaced its Mosaic micro-frontend architecture, built on team-owned page Fragments, with Interface Framework, a unified platform where pages are trees of typed Entities (Product, Collection, Outfit) mapped via declarative rendering rules to React Renderers that declare data needs in GraphQL.
- [More Editorial Content, please.](https://swe.quest/articles/more-editorial-content-please-3a9ab301c97b6ae2.md): Zalando Engineering · 2022-09-28 · Medium · 10 min read · Product engineering, GraphQL, System design, Frontend
  Zalando replaced a legacy, engineering-heavy landing page tool with a system built on the headless CMS Contentful, integrated into its Interface Framework via a Contentful proxy service behind the Fashion Store GraphQL aggregator, with modules mapped to renderers shared across web and app.
- [GraphQL persisted queries and Schema stability](https://swe.quest/articles/graphql-persisted-queries-and-schema-stability-a96dada14e0377f0.md): Zalando Engineering · 2022-02-16 · Medium · 6 min read · GraphQL, API design, Schema migrations, Deployment
  Zalando disables arbitrary GraphQL queries in production and accepts only query IDs that were persisted at build time, where an ID is a hash of the normalized query.
- [Optimize GraphQL Server with Lookaheads](https://swe.quest/articles/optimize-graphql-server-with-lookaheads-2ec291286b4baa0c.md): Zalando Engineering · 2021-03-17 · Medium · 12 min read · GraphQL, API design, Performance engineering, JavaScript
  Zalando's GraphQL server uses lookaheads on the resolver's info AST (fieldNodes and selection sets) to work out which sub-fields a query requests, then forwards them to backends that support partial responses via a fields parameter.
- [Shopify’s journey to faster breadth-first GraphQL execution](https://swe.quest/articles/shopify-s-journey-to-faster-breadth-first-graphql-execution-83f0f58b8c4dabd1.md): Shopify Engineering · 2026-03-12 · Hard · 14 min read · GraphQL, Performance engineering, Ruby, Query engines
  Shopify built GraphQL Cardinal, a breadth-first GraphQL execution engine that calls each field resolver once with the full set of objects at that level instead of once per object.

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)
