CASE STUDIES / MERCOM
RETAILB2B MARKETPLACE2023

A procurement marketplace for retail chains

A B2B platform between chains and suppliers: a catalogue of 1.2M SKUs, a supplier account, contract prices per chain and EDI order exchange straight into ERP systems.

01 — Challenge

Every chain bought its own way

Orders travelled through email and spreadsheets: every chain had its own price list, its own terms and its own request format. A supplier's manager spent a day reconciling line items, and discrepancies surfaced at goods acceptance.

Technically the problem was scale: 1.2M SKUs with individual prices for hundreds of counterparties, and search still had to answer instantly — otherwise the buyer goes back to Excel.

02 — Solution

A shared catalogue, personal prices, EDI

We built a single product model with supplier catalogue matching: duplicates collapse into one card, and the price is calculated on the fly from the specific chain's contract. Search and facets run on Elasticsearch; pricing lives in a separate Go service.

Orders go to the supplier over EDI (EANCOM) and come back as confirmations and invoices, so nobody retypes documents by hand. Smaller suppliers kept an account with manual processing — the barrier to entry must not depend on whether they have an EDI provider.

All price and stock changes flow as events through Kafka: that let us onboard new suppliers without pausing the platform and keep the history needed to settle disputed orders.

03 — Results
4,200active suppliers on the platform
1.2MSKUs in a single catalogue
380 mscatalogue search, p95
−40%time spent approving an order
04 — How we did it
/01Discovery
A review of the procurement processes of three chains, a catalogue audit and EDI exchange requirements.4 WEEKS
/02Catalogue and search
The product model, catalogue matching, indexing of 1.2M SKUs and faceted search.12 WEEKS
/03Accounts and EDI
The supplier account, contract prices, order and invoice exchange over EANCOM, roles and permissions.16 WEEKS
/04Chain rollout
Three chains moved in waves, price list migration, category manager training and launch support.12 WEEKS
05 — Stack
GoKafkaPostgreSQLElasticsearchReactTypeScriptEDI (EANCOM)Kubernetes
«“We assumed the catalogue was the hard part. It turned out to be prices and documents: the moment orders left email, buyers started using the platform on their own.”»
Next case studyBilling for a telecom operatorSAAS · INTEGRATIONS · 2023 · 0 min DOWNTIME DURING MIGRATION