{"name":"Tech Products Store API","version":"1.0.0","description":"Full POS + ERP System for Tech Products Store","status":"running","documentation":"/api-docs","health":"/health","endpoints":{"auth":{"register":"POST /api/auth/register","login":"POST /api/auth/login","refresh":"POST /api/auth/refresh","logout":"POST /api/auth/logout","me":"GET /api/auth/me"},"users":{"list":"GET /api/users","create":"POST /api/users","get":"GET /api/users/:id","update":"PUT /api/users/:id","delete":"DELETE /api/users/:id","search":"GET /api/users/search"},"customers":{"list":"GET /api/customers","create":"POST /api/customers","get":"GET /api/customers/:id","update":"PUT /api/customers/:id","delete":"DELETE /api/customers/:id","search":"GET /api/customers/search","debts":"GET /api/customers/:id/debts"},"products":{"list":"GET /api/products","create":"POST /api/products","get":"GET /api/products/:id","update":"PUT /api/products/:id","delete":"DELETE /api/products/:id","uploadImages":"POST /api/products/:id/images","generateQR":"POST /api/products/:id/qr","updateStock":"PATCH /api/products/:id/stock","stockHistory":"GET /api/products/:id/stock-history"},"sales":{"scan":"POST /api/sales/scan","list":"GET /api/sales","get":"GET /api/sales/:id","return":"POST /api/sales/:id/return","stats":"GET /api/sales/stats"},"purchases":{"list":"GET /api/purchases","create":"POST /api/purchases","get":"GET /api/purchases/:id","update":"PUT /api/purchases/:id","delete":"DELETE /api/purchases/:id","pay":"POST /api/purchases/:id/pay"},"debts":{"customers":"GET /api/debts/customers","suppliers":"GET /api/debts/suppliers","payCustomer":"POST /api/debts/customers/:id/pay","paySupplier":"POST /api/debts/suppliers/:id/pay","summary":"GET /api/debts/summary"},"expenses":{"list":"GET /api/expenses","create":"POST /api/expenses","get":"GET /api/expenses/:id","update":"PUT /api/expenses/:id","delete":"DELETE /api/expenses/:id"},"analytics":{"dashboard":"GET /api/analytics/dashboard","dailySales":"GET /api/analytics/sales/daily","weeklySales":"GET /api/analytics/sales/weekly","monthlySales":"GET /api/analytics/sales/monthly","topProducts":"GET /api/analytics/top-products","sellerPerformance":"GET /api/analytics/seller-performance","profitLoss":"GET /api/analytics/profit-loss"},"cashSessions":{"open":"POST /api/cash-sessions/open","close":"POST /api/cash-sessions/close","list":"GET /api/cash-sessions","current":"GET /api/cash-sessions/current","get":"GET /api/cash-sessions/:id"},"reports":{"daily":"GET /api/reports/daily","monthly":"GET /api/reports/monthly","sales":"GET /api/reports/sales","inventory":"GET /api/reports/inventory","lowStock":"GET /api/reports/low-stock","debts":"GET /api/reports/debts"}}}