Design a Seller Experience application
Problem Statement
Design the Low-Level Design (LLD) of a Seller Experience Application, similar to platforms like Amazon Seller Central, Flipkart Seller Hub, or Meesho Supplier Panel.
The goal of the system is to provide sellers with a platform to manage their catalog, inventory, orders, performance, and payments efficiently.
Your focus should be on object-oriented modeling, class relationships, and core interactions, not on scalability, microservices, or infrastructure (which would belong to HLD).
π§© Functional Requirements
Seller Management
Product & Catalog Management
Inventory Management
Order Management
Payment Management
Performance & Insights
Notification System
π« Non-Functional Requirements
π§± Suggested Classes
ClassResponsibility
Seller
Represents a seller with profile info, catalog, and performance stats.
Product
Represents a product listed by a seller. Contains SKU, price, category, and variants.
ProductVariant
Represents a specific variant of a product (size, color, etc.) with stock.
Inventory
Tracks available quantity for each product variant.
Order
Represents an order placed by a buyer for a sellerβs product.
OrderItem
Represents individual items within an order.
Payment
Handles payment transactions and settlements for completed orders.
SellerDashboard
Provides aggregated data like total sales, revenue, and ratings.
NotificationService
Sends system alerts and notifications to sellers.
PerformanceReport
Generates reports based on sales, returns, and ratings.
CatalogManager
Manages addition, modification, and removal of products.
OrderManager
Handles order updates and shipping workflows.
PaymentManager
Tracks payment processing and settlement.
π Example Flow
1οΈβ£ Seller Registration
1
2Seller registers β Verification done β Seller account activated.2οΈβ£ Product Listing
1
2Seller adds a new product βBluetooth Speakerβ
3β Adds variant: Color = Black, Stock = 100, Price = βΉ999
4β CatalogManager validates & publishes product.3οΈβ£ Customer Places Order
1
2Order created for βBluetooth Speakerβ
3β OrderManager reduces stock in Inventory.
4β Payment initiated and recorded.4οΈβ£ Order Fulfillment
1
2Seller updates order to βShippedβ
3β Notification sent to customer.
4β Payment settled post-delivery.5οΈβ£ Dashboard Summary
1
2SellerDashboard shows:
3 - Total Sales: βΉ50,000
4 - Orders Delivered: 120
5 - Average Rating: 4.5βοΈ Example Entities (Simplified)
1
2Seller
3 βββ id
4 βββ name
5 βββ email
6 βββ businessInfo
7 βββ products: List<Product>
8 βββ orders: List<Order>
9 βββ payments: List<Payment>
10
11Product
12 βββ id
13 βββ name
14 βββ description
15 βββ price
16 βββ category
17 βββ variants: List<ProductVariant>
18
19ProductVariant
20 βββ id
21 βββ sku
22 βββ color
23 βββ size
24 βββ inventory: Inventory
25
26Order
27 βββ id
28 βββ buyerName
29 βββ items: List<OrderItem>
30 βββ status (PENDING, PACKED, SHIPPED, DELIVERED)
31 βββ payment: Payment
32
33Payment
34 βββ id
35 βββ orderId
36 βββ amount
37 βββ transactionId
38 βββ status (PENDING, COMPLETED, FAILED)π§ͺ Example Input / Output
Input:
1
2Seller: Sahil Electronics
3Action: Add Product βWireless Mouseβ (Price βΉ499, Stock 50)
4Customer places 2 ordersOutput:
1
2Order #123 confirmed
3Stock updated β Remaining: 48
4Payment of βΉ998 received
5Dashboard updatedπ Constraints
π§ Extension Ideas
β In short:
Design a Seller Experience Application that allows sellers to manage their products, inventory, orders, and payments efficiently β with modular, object-oriented, and extensible class design.