Design Multi-Vendor Marketplace

Hard45 min
1 / 30
understanding8 min read

Problem Statement: Multi-Vendor Marketplace

Problem Statement: Multi-Vendor Marketplace — multi-vendor marketplace interview depth

Problem Statement: Multi-Vendor Marketplace

A multi-vendor marketplace is a three-sided system: independent sellers list inventory, buyers purchase through one unified storefront, and the platform in the middle orchestrates payments, commissions, disputes, and trust. The defining difference from single-merchant e-commerce is that every write must answer questions a single store never faces — which seller owns this SKU, who gets paid when it sells, and what happens when one cart's items ship from three different warehouses? Amazon Marketplace, eBay, and Etsy interviews all probe the same tension: can you keep the buyer experience monolithic (one search, one cart, one checkout) while keeping seller data federated (isolated catalogs, balances, and payouts)?

The architectural spine is that seller_id is the tenancy boundary for catalog and money, while the buyer session stays global. Two sellers offering the same manufacturer SKU are two distinct offer rows — the platform never silently merges their inventory or price, because they are independent businesses with independent stock and reputations. Commission accrues to a sub_order_id at capture time and is snapshotted, so changing the take rate next month never retroactively rewrites a fee that was already locked. That "snapshot the money the moment it moves" discipline is what keeps the ledger auditable.

The hard cases — the ones an interviewer reaches for — all live at the seams between the three sides. A multi-item cart whose items belong to different sellers must split into per-seller sub-orders that can ship, partially ship, cancel, and refund independently. A seller flipping to vacation mode mid-checkout, concurrent price edits during a quote's TTL, and a chargeback that arrives after a payout has been released are not edge cases to wave at — they are the core of why the design is hard.

Scale frames the rest: roughly 50 million buyers, 2 million active sellers, and 80 million offers (the SKU-by-seller cross-product), with a billion listing views a day funneling to tens of millions of orders. The consistency posture follows from the three sides: search and seller dashboards are AP (a slightly stale result never loses money), while orders, payments, and the payout ledger are CP (a double-pay or a lost order is a financial incident). Stating that split up front is what makes every later decision coherent.

Key Highlights

  • Three-sided system: federated seller catalogs/balances underneath a monolithic buyer storefront — seller_id is the tenancy boundary
  • Two sellers, same manufacturer SKU = two distinct offer rows; never merge inventory. Commission snapshots to sub_order_id at capture
  • The hard cases live at the seams: per-seller sub-orders, partial shipment, vacation mode mid-checkout, chargeback after payout release
  • Scale: ~50M buyers, 2M sellers, 80M offers; AP for search/dashboards, CP for orders/payments/ledger
pro tip
Section 1: pro-tip for marketplace — sec-01 emphasizes seller tenancy and split settlement.
interviewer loves
Section 1: interviewer-loves for marketplace — sec-01 emphasizes seller tenancy and split settlement.
common mistake
Section 1: common-mistake for marketplace — sec-01 emphasizes seller tenancy and split settlement.
pitfall
Section 1: pitfall for marketplace — sec-01 emphasizes seller tenancy and split settlement.

Section Rescue Kit

Buzzwords to use:

Split settlementSub-order

Safe statements:

  • "For sec-01, I'll separate buyer UX from seller data ownership."
  • "Let me quantify marketplace QPS before picking storage for problem."
Design Multi-Vendor Marketplace - System Design | WinJob | WinJob