WhatsApp Cyril
Architecture Watermark
Home / Case Studies / MedMarket Kenya
Healthcare · B2B E-Commerce · ERP Integration 2023 · Nairobi, Kenya

MedMarket Kenya — B2B Medical Wholesale & Pharmacy Marketplace

MedMarket is Kenya's leading digital distribution network supplying essential medical consumables, surgical gear, and licensed pharmaceuticals directly to clinics, dispensaries, and retail pharmacies.

Client Organization
MedMarket Kenya
Project Role
Full-Stack E-Commerce Developer
Location & Industry
Nairobi, Kenya
Live Deployment
Visit Live Site
MedMarket Kenya — B2B Medical Wholesale & Pharmacy Marketplace

Quantified System Results & ROI

15,000+
Clinic Orders Processed
Across 47 counties in Kenya
4.2x
Quarterly GMV Growth
Rapid clinic network adoption
0 ms
Stock Drift Discrepancy
Real-time two-way ERP inventory sync
100%
Automated Invoicing
Direct PDF dispatch upon settlement

The Challenge & Bottlenecks

Private clinics in regional towns faced severe stockouts due to fragmented supply chains, telephone-based wholesale orders, and lack of transparent pricing. MedMarket needed an enterprise-grade digital portal capable of enforcing tiered clinic pricing, validating pharmacy license credentials, and synchronizing with their physical warehouse ERP.

The Architectural Solution

We developed a high-capacity B2B e-commerce platform equipped with custom wholesale tier pricing algorithms, medical licensing verification gates, and a lightweight Node.js daemon that keeps warehouse stock synchronized with zero latency. Payments are settled instantly via Safaricom Daraja STK Push with automated VAT invoice generation.

Key Engineering & Design Modules

01
Module 01

Tiered Bulk Wholesale Pricing

Dynamic volume discount matrices based on clinic purchasing tiers and order quantities.

02
Module 02

Pharmacy License Verification Gate

Automated Pharmacy and Poisons Board (PPB) registration number validation before restricted item checkout.

03
Module 03

Daraja STK Instant Settlement

One-tap mobile PIN prompt on hospital procurement mobile phones with automated ledger clearing.

04
Module 04

Bi-Directional ERP Inventory Sync

Sub-second webhook updates between online catalog and warehouse stock levels to prevent backorders.

System Architecture & Data Pipeline

How transactions, requests, and data flow through the MedMarket Kenya production architecture.

01
Clinic Auth & PPB License Check

Verifies practitioner credentials and Pharmacy & Poisons Board license before restricted item view.

02
Dynamic Wholesale Volume Matrix

Calculates tiered bulk discounts in real-time based on clinic procurement volume and order frequency.

03
Safaricom Daraja STK Push Rails

Instant PIN prompt sent to clinic procurement smartphone with automated row-level lock against double credits.

04
Bi-Directional ERP Warehouse Sync

Sub-second webhook updates between web storefront and regional depot stock to prevent stockouts.

UI Color Tokens & Typography Hierarchy

Curated high-contrast aesthetic calibrated for mobile readability across East African networks.

#0d9488
Clinical Teal
#0284c7
Pharma Blue
#070b10
Obsidian Dark
#f8fafc
Clean Surface
Display: Bricolage Grotesque Body: Plus Jakarta Sans Code: JetBrains Mono

Telemetry & Availability Verification

Checkout Speed (LCP)
Optimized WooCommerce API
0.5s
Stock Sync Latency
Bi-directional ERP daemon
<120ms
Webhook Reliability
0% dropped payment IPNs
100%
Mobile Usability Score
Tested across 47 counties
99/100

Technology & Infrastructure Stack

WooCommerce Engine Custom Node.js Sync Daemon PostgreSQL Daraja STK Push API Redis Cache AWS EC2

"Our wholesale distribution scaled 400% without adding manual billing staff. The automated STK payment reconciliation and stock sync are completely bulletproof."

H
Head of Supply Chain
MedMarket Kenya
// COLLABORATE DIRECTLY ● Live Availability: 2026 Reply < 2h

Need a system similar to MedMarket Kenya?

Let's discuss technical architecture, Daraja M-Pesa automated reconciliation, or custom web software engineering with sub-second delivery.

8+ Yrs Experience 150+ Shipped Builds 4.9/5 Verified Rating 100% Code Ownership
Cyril Musila
Cyril Musila
Lead Full-Stack Architect
Active Online · Nairobi (UTC+3)
✓ Direct Senior Engineer · ✓ Fixed Milestone Quote · ✓ NDA Ready