--- issue: "033" title: "GET seller offer history has no HTTP route — getOffersBySeller() is unreachable dead code" severity: major domain: seller-offer labels: [backend, missing-feature] status: open created: 2026-05-29 source: Doc vs Code Audit 2026-05-29 --- # 🟠 GET seller offer history has no HTTP route — getOffersBySeller() is unreachable dead code **Severity:** major **Domain:** seller-offer **Labels:** backend, missing-feature ## Description `SellerOfferService.getOffersBySeller()` exists in the service layer but no HTTP route exposes it. The documented endpoint `GET /api/marketplace/offers/seller/:sellerId` does not exist in `routes.ts` or `marketplaceController.ts`. Notification action URLs that point to `/dashboard/seller/marketplace/offers` are also broken — that frontend page does not exist. ## Current Behavior - Sellers have no way to view their own offer history via the API - Notification deep-links to the offers page return 404 ## Expected Behavior 1. Register `GET /api/marketplace/offers/seller/:sellerId` (or equivalent scoped route) calling `getOffersBySeller()` 2. Create the frontend page at `/dashboard/seller/marketplace/offers` 3. Fix notification `actionUrl` to point to the real page ## Affected Files - `backend/src/routes/routes.ts` — missing `GET /offers/seller/:sellerId` route - Missing: `frontend/src/app/dashboard/shops/` or similar seller offers list page ## References - [Doc vs Code Audit Report](../09%20-%20Audits/Doc%20vs%20Code%20Audit%20Report%20-%202026-05-29.md) — Finding M27