A 180-store apparel retailer suffered frequent oversold online orders because store point-of-sale systems, warehouse software, and e-commerce synced only once a night via fragile FTP CSV files. SNWN built an event-driven integration layer using Apache Kafka and idempotent REST APIs connecting SAP, Salesforce, Shopify Plus, and store scanners in real time. Stock levels now match across channels, oversold refunds dropped and same-day store pickup grew.
Why Overnight Batch Files Broke Same-Day Store Pickup
Shoppers expected to check store availability on their phone, buy online at lunch, and pick up their bag on the way home. Because store registers updated central e-commerce stock only at 2 AM, items sold at 11 AM in-store still showed as available online all afternoon.
Key Operational Bottlenecks Before the Project
- 11% of buy-online-pickup-in-store (BOPIS) orders had to be canceled because the last item sold on the shop floor hours earlier.
- Nightly FTP sync scripts failed twice a month during holiday sales, freezing warehouse pick lists until mid-morning.
- Customer service reps had to log into four separate screens to check an order, loyalty balance, or return status.
Connecting Stores, Warehouses & Online Checkout Live
Instead of ripping out SAP or store registers, we placed a clean, fault-tolerant event hub in the middle so every system shares live stock updates within seconds.
Untangled Point-to-Point Scripts Into Clean Schemas
We mapped 26 brittle point-to-point scripts across SAP ERP, warehouse WMS, Shopify Plus, and Salesforce CRM, defining one clean JSON format for SKUs, stock reservations, orders, and returns.
Deployed Managed Kafka Streams for Sub-Second Stock Updates
Every barcode scan at a cash register, warehouse dock receipt, or online cart checkout now publishes an immutable inventory event to Kafka, updating available-to-promise counts across all channels in under two seconds.

Built Store-Offline Buffering and Dead-Letter Auto-Retry Logic
Retail mall internet drops happen. Store POS gateways now queue transactions locally if broadband flickers and replay them safely with idempotency keys the moment connectivity returns - preventing duplicate charges or lost stock counts.
Unified Customer Loyalty and Order History Inside One CRM View
We exposed a clean GraphQL gateway for store associates and support reps, pulling online purchases, in-store receipts, and loyalty points into one fast Salesforce screen.
Fewer Canceled Orders and Smooth Black Friday Peak Traffic
Store teams stopped apologizing for missing pickup orders, and the retailer sailed through Black Friday at four times normal checkout volume with zero sync delays.
Cross-Channel Stock
Live inventory parity across stores, warehouses and e-commerce.
Oversold Cancellations
Fewer refunded orders and apology discount vouchers.
POS to Web Sync
Overnight FTP batch windows replaced with continuous event streaming.
Day-to-Day Business Impact
- Same-day click-and-collect orders grew in the months after launch.
- Support agents find customer and order details much faster.
- Processed 42,000 peak-day orders over Black Friday weekend with zero dropped webhooks.
Tools, Platforms, and Technologies Used
Every tool in this manufacturing & retail digital transformation stack - including Apache Kafka, Node.js & TypeScript, GraphQL - was chosen for day-to-day stability, clear monitoring, and clean handover so internal teams never depend on black-box scripts.
ERP, CRM & API Integration
See how our engineers plan, migrate, and run digital transformation environments for manufacturing & retail teams.
Frequently Asked Questions About This Project
Did the retailer replace legacy SAP ERP or POS hardware?
No, SNWN built lightweight adapter microservices around existing SAP ERP and POS interfaces to accelerate real-time sync.
How do you prevent two shoppers buying the last item?
Atomic Redis stock-reservation locks hold SKUs during checkout while Kafka reconciles confirmed orders, preventing double-allocation during flash sales.
What happens if Salesforce or a carrier API slows down?
Kafka decouples checkout from slow Salesforce or carrier APIs, queuing events with exponential backoff retries and dead-letter alerting.



