{
    "status": "online",
    "service": "ApexMart POS & Sales System REST API",
    "version": "1.0.0",
    "endpoints": {
        "GET \/api\/products.php": "List all active products or filter by ?category_id= or ?search=",
        "GET \/api\/products.php?barcode=890100100101": "Lookup single product by barcode or SKU",
        "GET \/api\/pos.php?invoice=INV-20261001": "Fetch full invoice details and line items",
        "POST \/api\/pos.php": "Create a new POS sale transaction (JSON payload)",
        "GET \/api\/reports.php": "Fetch live KPI metrics and 7-day sales chart data"
    }
}