- Backend: FastAPI app with all models, services, schemas, routes - Admin Panel: Next.js dashboard with all modules (CRM, POS, repairs, warranties, billing, notifications, etc.) - Ecommerce: storefront (submodule) + product catalog - AI Agents: .agents/ skill library for Antigravity IDE - Docs: architecture, billing, notification gateway markdown - Submodules: Backend/OpenWA, Ecommerce/File 2/storefront
14 lines
413 B
Python
14 lines
413 B
Python
import requests
|
|
|
|
payload = {
|
|
"category": "BOTH",
|
|
"deal_title": "Sales Quote - 5626",
|
|
"estimated_value": 18054.0,
|
|
"customer_phone": "+91 22",
|
|
"customer_name": "5626"
|
|
}
|
|
|
|
# The lead_id doesn't matter much if it fails validation, it will return 422 before 404
|
|
res = requests.post("http://localhost:8000/api/v1/crm/leads/dummy_lead_id/convert", json=payload)
|
|
print(res.status_code)
|
|
print(res.text)
|