- HealthTech
- 23 Jul, 2025
- Healthcare Commerce
- 8 min read
How ONDC Works: Buyer Apps, Seller Apps and Network Participants
While the conceptual promise of the Open Network for Digital Commerce (ONDC) is straightforward—enabling open trade between any buyer app and any seller app—the underlying technical orchestration that makes decentralized transactions happen reliably is a marvel of distributed software engineering. How does a search query on a consumer app reach thousands of independent local shops? How is an order confirmed without a centralized database? How are delivery logistics coordinated and customer disputes resolved? This article details the technical mechanics and participant roles of the ONDC network.
The Core Network Participants of ONDC
The ONDC ecosystem relies on specialized entities called Network Participants (NPs), each fulfilling a distinct role during a commercial transaction:
1. Buyer Network Participant (BNP / Buyer App): The consumer-facing application where shoppers search for products, view comparative pricing, add items to cart, and initiate payment.
2. Seller Network Participant (SNP / Seller App): Software platforms that onboard physical merchants, maintain digital catalogs, synchronize real-time inventory, and process incoming purchase orders.
3. ONDC Gateway: An intelligent routing switch that broadcasts search queries from Buyer Apps to relevant Seller Apps based on product category, geographic location, and merchant availability.
4. Logistics Service Providers (LSP): On-demand delivery and courier networks that integrate into ONDC to handle package pickup from merchants and delivery to consumer doorsteps.
5. Technology Service Providers (TSP): Software developers and SaaS vendors that build the underlying API integrations for merchants and buyers to connect to ONDC.
The Beckn-Inspired Order Lifecycle Protocol
ONDC transactions follow open, standardized API specifications derived from the Beckn protocol. The transaction lifecycle progresses through six distinct procedural stages:
• Search (`/search` & `/on_search`): The buyer enters a search query (e.g., 'Paracetamol 650mg' in Indiranagar, Bengaluru). The Buyer App sends the query to the ONDC Gateway, which broadcasts it to all registered pharmacy Seller Apps in that geographic radius. Seller Apps respond with real-time product availability, pricing, and fulfillment estimates.
• Select (`/select` & `/on_select`): The buyer selects a specific product from a local store. The Seller App validates current stock, verifies delivery address feasibility, and calculates delivery fees.
• Init (`/init` & `/on_init`): The transaction is initialized. Customer contact details, delivery address, and payment terms are compiled into a draft order.
• Confirm (`/confirm` & `/on_confirm`): The buyer authorizes payment. The order is committed. The Seller App receives the confirmed order and prepares the parcel for pickup.
• Track (`/track` & `/on_track`): Real-time location updates of the assigned delivery courier are shared transparently with the buyer.
• Cancel (`/cancel` & `/on_cancel`): Structured cancellation and refund workflows handled according to network policy.
Issue & Grievance Management (IGM) Framework
In a decentralized network with thousands of independent merchants and multiple buyer apps, managing consumer grievances is vital. ONDC implements an open Issue & Grievance Management (IGM) framework.
If a customer receives an incorrect item or experiences delivery delays, they raise a ticket inside their Buyer App. The IGM protocol routes the dispute electronically to the responsible party (merchant or logistics provider) with strict service-level agreements (SLAs) for resolution, ensuring consumer protection without requiring a centralized corporate arbiter.
How QwikPharm Fits into the ONDC Architecture
QwikPharm is engineered with ONDC-oriented architecture in mind, functioning as an intelligent retail technology enabler. By managing inventory, batch numbers, and point-of-sale operations in real time, QwikPharm enables independent local pharmacies to maintain synchronized digital catalogs ready for open network commerce integration.
Decentralized Architecture: Resilience Without a Single Point of Failure
Centralized e-commerce platforms rely on massive proprietary server farms; if their central database experiences an outage, millions of buyers and sellers are cut off simultaneously. ONDC, by contrast, operates as a distributed network.
Transactions are negotiated directly between participating Buyer Apps, Seller Apps, and Logistics Providers using cryptographically signed digital payloads. This decentralized design ensures network resilience, eliminates single points of operational failure, and scales horizontally across millions of concurrent transactions.
- Cryptographically signed JSON-LD payloads ensuring message authenticity and non-repudiation.
- Decentralized network architecture eliminating vulnerability to centralized database outages.
- Horizontal scalability across millions of local retail merchants and consumer buyer apps.
- Standardized Issue & Grievance Management (IGM) protocol resolving disputes across participants.
"ONDC's beauty lies in its unbundled protocol: every participant does what they do best—buyer apps delight consumers, seller apps empower merchants, and logistics apps master delivery—all coordinated through open standards."
The Path Forward
By mastering the technical interplay between Buyer Apps, Seller Apps, Gateways, and open Beckn protocols, developers and business leaders can harness ONDC to build innovative commerce experiences that empower local Indian trade.
Frequently Asked Questions
What is the role of an ONDC Gateway during an order?
The ONDC Gateway functions as an intelligent routing switch, broadcasting search queries from Buyer Apps to all relevant, active Seller Apps registered in that geographic zone and category.
Can an independent software provider become a Technology Service Provider (TSP) on ONDC?
Yes. Software companies that build compliant Beckn protocol APIs can register as TSPs to help merchants, logistics firms, or buyer portals connect to ONDC.
How is delivery logistics coordinated if the merchant does not have delivery drivers?
The ONDC protocol allows the Seller App to broadcast a logistics request to integrated Logistics Network Participants (LSPs), who automatically assign an on-demand delivery courier to fulfill the order.
Authoritative Sources & Regulatory References
- ONDC Developer Portal & API Specifications — Official technical documentation of ONDC schemas, transaction lifecycles, and IGM protocols.
- Beckn Protocol Specifications — Open source decentralized commerce protocol specifications underpinning ONDC.





Leave a Comment