ifixkart-admin/Backend/test_quote.py
Adithiyan bbd3a3e959 feat: initial commit — full platform snapshot
- 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
2026-10-13 12:59:47 +05:30

24 lines
527 B
Python

import requests
payload = {
"quote_number": "SQ-2026-999",
"customer_name": "Test Cust",
"customer_phone": "9999999999",
"customer_email": "test@example.com",
"subtotal": 1000,
"tax_amount": 180,
"final_amount": 1180,
"items": [
{
"sku": "TEST-SKU",
"description": "Test Item",
"quantity": 1,
"unit_price": 1000,
"tax_percent": 18
}
]
}
res = requests.post("http://localhost:8000/api/v1/billing-finance/quotations", json=payload)
print(res.status_code)
print(res.text)