MarketplaceAnalytics
A profit-first analytics cockpit for brands selling on Amazon, Flipkart and other Indian marketplaces. I led most of the core modules and extended the shared data layer behind them.
Case study by Balaji Sankar · Updated October 2026
Deployment environments: dev, staging, production and demo
Profit, payments, inventory, returns, orders and Buy Box in one front end on a shared table and filter system
Why did it need to exist?
- Marketplace data spread across many separate exports
- Fees, returns and settlements arrive at different times
- Sellers cannot see true profit per order
- Warehouses need scanners to receive returns
- One cockpit for orders, payments, returns and stock
- Shared tables and filters across every module
- Profit per channel, product and order after every fee
- Camera-based QR receiving in the browser
What made it hard?
Marketplace sellers get their numbers in scattered exports: orders in one place, settlements in another, returns somewhere else and fees buried in invoices.
Nobody could answer the basic question - which SKUs actually make money after commissions, shipping, returns, TCS and ad spend? - without a spreadsheet marathon. The platform set out to pull it all into one dashboard per seller, per channel.
How did I approach it?
Profit first
Order-level and SKU-level profit views per channel, with commission, shipping, TCS and ad spend layered in, margin calculations, custom totals and date-range exports.
Follow the money
Payments reconciliation so sellers can see what the marketplace actually paid versus what it owed, alongside inventory, master SKU mapping across channels and warehouse locations.
One data layer for every module
I extended the central request wrapper behind the named API registry so it cancels superseded in-flight calls, became the main contributor to the shared table and built the second generation of the table, filter and search headers used across the modules.
One pipeline per environment
GitLab CI pipelines building per environment and syncing to S3 for dev, staging and production, plus a separate demo build configuration.
Which calls shaped it?
Cancel stale requests centrally
Sellers flip between channels and date ranges quickly, and slow responses could paint old data onto the screen.
I extended the central request wrapper behind the named API registry to abort superseded calls per endpoint and channel with AbortController.
- Tables never show stale numbers
- Fewer duplicate requests
- Consistent behaviour in every module
Shared tables and filters
Every module needed pagination, sorting, filters and export.
I became the main contributor to the shared table and filter components, reused them across profit, payments, orders, returns and inventory, and later built their second generation.
- One table behaviour everywhere
- New modules start from the same table
- Shared table used in 15 page modules
Scan returns with any camera
Warehouse staff needed to receive returned parcels without buying handheld scanners.
I added ZXing-based QR scanning in the browser so any laptop or phone camera works.
- No dedicated hardware needed
- Returns marked received at the dock
- Received quantity and condition in one form
What did I build?

- (01)
Request de-duplication and cancellation at the wrapper level, so fast channel and date-range changes never paint old data.
- (02)
Browser-based QR receiving for returns - warehouse staff scan goods straight from the app, no handheld scanner app needed.
- (03)
Buy Box ownership and unauthorised-seller detection screens for brand protection.
- (04)
Product and seller review tracking across channels on the same shared table.
- (05)
Organisation user management with roles, OTP signup, plan and invoice settings, and an internal admin dashboard for sync status.
- (06)
The wider product, built by other developers on the team during and after my time: India state maps and order heatmaps, and in 2022 a profit waterfall with cost of goods, GST, TACOS and ROI, payment leak flags and return insights.
What is it built on?
Trust the numbers
A stale or slow table destroys trust, so correctness comes first.
Build once, reuse everywhere
Shared tables and data handling keep every module consistent.
Remove hardware where possible
Use the cameras people already have.
How was it delivered?
- Phase 1
Profitability and module filters
March - April 2021: the profitability tracker, user management fixes, filters across payments, orders, returns and inventory, and a first QR page.
- Phase 2
Shared table and pipelines
May 2021: shared table work, sign-up and OTP fixes, and GitLab CI pipelines deploying dev, staging and production to S3.
- Phase 3
Request cancellation and new modules
June - July 2021: AbortController cancellation in the request wrapper, Tailwind via CRACO, Buy Box, Brand Protector, product configuration, a demo build and admin dashboard work.
- Phase 4
Settings and returns receiving
August - September 2021: a new settings page for users, plans and invoices, and ZXing camera scanning for returns.
- Phase 5
Second-generation tables
October - November 2021: new versions of the shared table, filter and search headers, pipeline updates and the start of payments v2.
What did I learn?
Cancelling matters
On data-heavy dashboards, cancelling stale requests matters as much as making them fast.
Shared components pay back fast
The second module that needed the same table justified the shared one.
Demo environments help sales
A separate demo build, with its own environment config, gave the product a place to be shown outside production.
Questions about this project
- What did Balaji Sankar build in the Marketplace Analytics project?
- A profit-first analytics cockpit for brands selling on Amazon, Flipkart and other Indian marketplaces. I led most of the core modules and extended the shared data layer behind them.
- Who was the client?
- A marketplace-seller analytics SaaS, in e-commerce / seller tools / SaaS analytics. The work is under NDA, so the client is not named.
- What was the hardest part?
- Marketplace sellers get their numbers in scattered exports: orders in one place, settlements in another, returns somewhere else and fees buried in invoices.
- What was his role?
- Senior frontend engineer.
- What technology was used?
- React 17, Redux, Ant Design, Material UI, Tailwind, Recharts, ZXing, Formik, Razorpay, GitLab CI and AWS S3.
- What were the results?
- 4 deployment environments: dev, staging, production and demo and Profit, payments, inventory, returns, orders and Buy Box in one front end on a shared table and filter system.
Have a project like this?
Tell me what you’re building or what’s broken. I’ll tell you straight whether I’m the right person for it.