Six portals, each with two parallel clients over the same REST API — a Next.js
web version and a Kotlin (Android, Compose + Material 3) mobile app. Below is the full feature
catalog per portal. Tags: (new) = needs a new entity/endpoint;
B1–B4 = build stage.
| Portal | Web | Mobile (Kotlin/M3) | Primary roles |
| Customer | Next.js (SSR/SEO) | Android app | customer |
| Vendor | Next.js | Android app | vendor |
| Driver | — (mobile-only) | Android app | driver |
| Dispatcher | Next.js | Android app | dispatcher, operations |
| Admin & operations | Next.js | Android app | admin, operations, finance, support |
| Agent (new) | Next.js | Android app (primary) | agent |
Consolidation decision
Finance and Support are role-gated areas inside the Admin & operations console, not separate apps.
1 · Customer portal
Account: register/login (OTP/social) · saved addresses & payment methods · notification prefs.
Discovery: browse by category/industry/vendor · search + filters · product detail · vendor storefronts · wishlists (new) · recommendations.
Ordering: multi-vendor cart · service level & window · itemized price + surcharges · serviceability check · promo codes · restricted-item prescription/ID flow · COD · scheduled/recurring orders (new).
Tracking: live status timeline · driver ETA/map · notifications · reschedule.
Post-delivery: POD/receipt · ratings & reviews · reorder · refund/return/replacement · support tickets.
2 · Vendor portal
Onboarding & account: business registration & KYC · industry selection (drives required fields) · license upload (regulated) · verification status · team members & roles (new) · payout account · storefront branding.
Catalog & merchandising: product CRUD with media/attributes · compliance-required fields enforced · categories & collections · product variants (size/color/pack) (new) · bundles/kits (new) · publish/schedule · featured/merchandising order · SEO fields · bulk CSV import/export (new).
Inventory & merchandise management — expanded core
Stock levels — on-hand / reserved / available per product/variant (B1) ·
multi-location inventory across warehouses (new: StockLocation, B2) ·
stock adjustments with reason codes (received/damaged/lost/correction/wastage) + immutable audit (new: StockAdjustment, B2) ·
reservations auto-held on order, released on cancel — prevents oversell (B1) ·
low-stock / reorder alerts (B2) · reorder/restock workflow (new, B3) ·
stock transfers between locations (new: StockTransfer, B3) ·
batch/lot & expiry with FEFO picking (B2) · near-expiry & wastage management (new, B3) ·
backorder / out-of-stock handling (B2) · stocktake / cycle count reconciliation (new, B3) ·
barcode/SKU management + scan lookup (B2) · inventory audit trail (B2) ·
inventory reports — valuation, movement, ageing, low-stock (B2/B3).
Orders & fulfillment: order queue accept/reject/auto-accept · order detail (masked customer info) · fulfillment & delivery monitoring · split/partial fulfillment · picking/packing slips · returns & replacements.
Pricing & promotions: per-product pricing · bulk price update · promotions/discounts (coupons, %/flat, time-boxed) (new: Promotion) · tiered/quantity pricing.
Finance: earnings dashboard (sales, commission, net) · settlement & payout status · invoices/statements.
Subscriptions & licenses (doc 23): compare/subscribe/upgrade plans · billing history · license records & renewals.
Insights: sales & delivery-performance dashboards · support tickets.
3 · Driver app (mobile)
Account & shift: login + MFA · go online/offline · shift schedule · vehicle & capability profile.
Jobs & nav: assigned jobs & accept · job/stop detail · turn-by-turn + ordered stops · long-haul multi-stop (B4) · barcode/QR scan (new).
Execution & POD: milestone status (offline-queued, idempotent) · signature & photo · recipient ID/age verification · cold-chain temperature · COD collection.
Exceptions: failed attempt/damage/refused/address · contact dispatcher.
Earnings: per-job & daily summary · payout status.
4 · Dispatcher portal
Queue & assignment: live queue by zone · manual assign with capability-match enforcement · auto-dispatch oversight & override · bulk assign.
Live ops: live map of drivers/jobs/routes · driver status & location · ETA/SLA-at-risk · reroute/reassign.
Routing: last-mile single-job · long-haul multi-stop planning & consolidation (B4) · manual route editing.
Exceptions & alerts: triage & resolution · stale-job/SLA-breach alerts · customs-hold (cargo).
Oversight: fleet/driver availability · dispatch performance reporting.
5 · Admin & operations console
Users & access: users/roles/permissions · MFA policy · support impersonation (audited) (new).
Industry & compliance config: create/edit industry types & compliance profiles · restricted/controlled-substance rules.
Vendor operations: verification queue · license lifecycle oversight (expiring/expired) · suspend/reinstate.
Catalog governance: global categories/taxonomy · listing moderation · attribute schemas per industry.
Service config: delivery zones · service levels/SLAs · pricing rules/surcharges · vehicle types & fleet registry.
Subscriptions/billing (doc 23): plans & entitlements · subscription revenue.
Finance (role-gated): settlement & reconciliation · payout runs · invoices · refunds · financial reports.
Support (role-gated): tickets · claims · refund/replacement · customer/vendor lookup.
Reporting: sales, delivery, fleet, vendor, exception rates · scheduled exports.
Governance: immutable audit-log viewer · platform config & feature flags.
6 · Agent portal (new, 2026-07-08)
JForce-style agents place & manage orders on behalf of offline/low-trust customers and earn commission.
Account: onboarding & approval · KYC · territory.
Assisted ordering: place an order for a named customer · attribution to the agent.
Tracking & payments: track their orders · collect (often cash) & reconcile.
Earnings: agent commission, statements, payout status. Customer book: manage served customers. (Epic E16.)
Launch-scope portals & epics (2026-07-08)
The broad launch adds C2C peer marketplace (E12), B2B/wholesale (E13), platform fulfilment (E14),
promoted listings & ads (E15), the agent network + this Agent portal (E16), and membership/loyalty (E17).
These enlarge the build and several are operational undertakings (warehouses, agent workforce) — see risk R-16.
New entities from the launch-scope expansion
Inventory: StockLocation, ProductVariant, StockAdjustment,
StockTransfer, Promotion (+ Inventory.location_id/quantity_reserved).
Marketplace/growth: Listing+ChatThread (C2C), BusinessBuyer/PriceAgreement/QuoteRequest (B2B),
FulfilmentCenter/FulfilmentInbound, AdCampaign/PromotedListing,
AgentAccount/AgentOrder, MembershipPlan/Membership.
To be folded into the data model (doc 19) as each epic is scheduled.