Back to Blog
Announcement
Jul 16, 2026
1 min read

DARHAN BLOGGER

DARHAN BLOGGER
Share this article:

IN POS-DASHBOARD API I AM GETTING THIS IN RESPONSE:
{
  "meta": {
    "status": 200,
    "message": "POS Dashboard Data Fetched Successfully"
  },
  "data": {
    "user": {
      "name": "Shoaib Khatri",
      "role": "restaurant_owner",
      "email": "shoaibkhatri510@gmail.com"
    },
    "metrics": {
      "totalSales": 900,
      "transactions": 3,
      "averageOrder": 300
    },
    "paymentSummary": {
      "cash": 650,
      "card": 250,
      "online": 0
    },
    "orderTypeSummary": {
      "dineIn": 300,
      "takeAway": 250,
      "delivery": 350
    },
    "orders": [
      {
        "id": "po-IM00OXQG0FK7",
        "type": "Delivery",
        "itemName": "Chicken Shawarma",
        "amount": "350.00",
        "paymentMethod": "Cash",
        "status": "pending",
        "tableName": "T3",
        "createdAt": "2026-07-16T07:38:01.425Z"
      },
      {
        "id": "po-VEUDZZRTZOYY",
        "type": "TakeAway",
        "itemName": "Chicken Shawarma",
        "amount": "250.00",
        "paymentMethod": "Card",
        "status": "pending",
        "tableName": "T3",
        "createdAt": "2026-07-16T07:37:40.109Z"
      },
      {
        "id": "po-CDVZOZTQB6FC",
        "type": "Dine-In",
        "itemName": "Chicken Shawarma",
        "amount": "300.00",
        "paymentMethod": "Cash",
        "status": "pending",
        "tableName": "T3",
        "createdAt": "2026-07-16T07:37:25.758Z"
      }
    ]
  }
}

ENSURE TO DISPLAY THIS DATA AND ALSO DO NOT DISPLAY ONLINE

#TAG#TA#TAS