Design Brand Inventory Sync From External Storefronts Into the Wholesale Catalog

Last updated: November 29, 2026

Quick Overview

Design a service that keeps a brand's wholesale catalog and stock levels in sync with the brand's own e-commerce store (for example a Shopify shop), so retailers do not order items that are out of stock. Cover initial import, ongoing updates, and conflicts with edits made directly in the marketplace.

Faire
System Design
Software Engineer
Faire
November 29, 2026
Software Engineer
System Design Round
System Design
Medium

0

0

0 solved


Design a service that keeps a brand's wholesale catalog and stock levels in sync with the brand's own e-commerce store (for example a Shopify shop), so retailers do not order items that are out of stock. Cover initial import, ongoing updates, and conflicts with edits made directly in the marketplace.

Many brands on a wholesale marketplace also sell direct to consumers, so their real stock lives elsewhere and drifts quickly. The interviewer checks that you combine webhooks with periodic reconciliation, respect third-party rate limits, and define which system is the source of truth per field.

What the Interviewer Expects
  • Clarify scale, freshness targets and which fields sync
  • Combine webhooks for freshness with scheduled full reconciliation for correctness
  • Use a queue and per-brand workers to respect external rate limits
  • Define field-level ownership to resolve conflicts
  • Make updates idempotent and ordered per variant
  • Explain how oversell is handled at checkout
Key Topics to Cover
webhooks
reconciliation
rate limiting
source of truth
idempotency
queues
How to Approach This
  1. Start by clarifying functional and non-functional requirements with the interviewer.
  2. Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
  3. Draw a high-level architecture first, then deep dive into 1-2 critical components.
  4. Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
  5. Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
  • How would you avoid one huge brand starving sync for thousands of small ones?
  • What do you do when the external platform is down for hours?
  • How would you support a brand reserving part of its stock for wholesale only?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice System Design Problems
Sample Answer
Requirements

Functional: connect a store, import products and variants, map SKUs, keep inventory and optionally prices in sync, and surface sync errors to the brand. Non-functional: tens of thousands of connected ...

High-Level Design

An integration service holds OAuth tokens and SKU mappings. Inbound path: partner webhooks hit a thin receiver that verifies the signature, writes the raw event to a durable queue (Kafka or SQS) and r...


Submit Your Answer
Markdown supported

Related Questions