feat(tradein/lead): POST /api/v1/trade-in/lead — persist contact leads (#2376) #2390

Merged
lekss361 merged 1 commit from feat/tradein-lead-endpoint into main 2026-07-04 07:12:23 +00:00

1 commit

Author SHA1 Message Date
bot-backend
ada9bb8125 feat(tradein/lead): POST /api/v1/trade-in/lead — persist contact leads (#2376)
All checks were successful
CI Trade-In / changes (pull_request) Successful in 8s
CI / changes (pull_request) Successful in 9s
CI / openapi-codegen-check (pull_request) Has been skipped
CI Trade-In / frontend-checks (pull_request) Has been skipped
CI / backend-tests (pull_request) Has been skipped
CI / frontend-tests (pull_request) Has been skipped
CI Trade-In / backend-tests (pull_request) Successful in 1m48s
Contact capture (phone + consent) from estimate result / landing page.
New trade_in_leads table (migration 172), estimate_id FK validated
before insert (404 if unknown). Notification (Telegram/email)
intentionally out of scope — no existing SMTP/Telegram integration
anywhere in the codebase (same gap as pilot.py's TODO).
2026-07-04 10:01:53 +03:00