B2B E-Commerce Platform — Distributed Architecture for Saudi Multi-Vendor Procurement

Designed a distributed B2B commerce platform for Saudi Arabia with multi-vendor checkout, KSA VAT rules, CRM + credit integrations, and modular services for catalog, pricing, payments, and onboarding. Built for scale, regional compliance, and mobile-first usage.

Designed a distributed B2B commerce platform for Saudi Arabia with multi-vendor checkout, KSA VAT rules, CRM + credit integrations, and modular services for catalog, pricing, payments, and onboarding. Built for scale, regional compliance, and mobile-first usage.

Designed a distributed B2B commerce platform for Saudi Arabia with multi-vendor checkout, KSA VAT rules, CRM + credit integrations, and modular services for catalog, pricing, payments, and onboarding. Built for scale, regional compliance, and mobile-first usage.

Problem

Saudi B2B merchants deal with fragmented procurement—onboarding, credit checks, VAT rules, catalog updates, payments, and vendor coordination happen across disconnected systems. A unified, scalable commerce engine was required to support multi-vendor orders, KSA VAT compliance, mobile usage, and integrations with local partners.

Solution Overview

Designed a distributed, service-oriented B2B marketplace with mobile + web clients, centralized product configuration, vendor management, KSA VAT handling, credit validation, and checkout via multiple payment providers.

Architecture Snapshot

Layered Architecture

  • Core Framework: shared logging, API host, security rules.

  • DB Layer: Drupal abstraction enabling SQL/NoSQL flexibility; S3 for assets.

  • Backend Services: profile, catalog, pricing, VAT, checkout, CRM sync, credit scoring, notifications.

  • Application Framework: permissions, localization (Arabic/English), offline mode.

  • Application Layer: native mobile apps + desktop console.

Distributed Backend Module Design

  • Fail-isolated components: catalog, payments, VAT, CRM sync, credit scoring.

  • If Apple Pay fails, checkout automatically falls back to other gateways.

  • CRM (Pipedrive) and credit scoring (SalesBuzz) integrated via token-based APIs.

Gateway & Security

  • Central gateway for token validation, routing, quotas, and signature checks.

  • Role-based access to admin, merchant, and operational APIs.

  • Full HTTPS + audit logs for compliance.

Commerce Capabilities

  • KSA VAT engine with vendor/product overrides.

  • Arabic/English localization across mobile and web.

  • Multi-vendor cart + order orchestration.

  • PWA caching for low-connectivity regions.

  • High-SKU catalogs supported via CDN + search optimization.

Join newsletter

Stay up to date with new case studies. We promise no spam, just good content

Check other studies

Boost your consulting business

Boost your consulting business

Boost your consulting business

Boost your consulting business