Get Order Stats

GET
/order/stats
/order/stats

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

In: header

curl -X GET "https://api.t4b.top/order/stats" \
  -H "Authorization: Bearer <token>"

Ok

{
  "data": {
    "stats": [
      {
        "id": 1,
        "userId": 1,
        "recordingMonth": "YYYY-MM",
        "orderThisMonth": 1,
        "currentWeek": 1,
        "orderThisWeek": 1,
        "failedOrdersThisWeek": 1,
        "weekRecords": {},
        "currentDay": 1,
        "orderThisDay": 1,
        "failedOrdersThisDay": 1,
        "dayRecords": {},
        "failedOrdersThisMonth": 1,
        "createdAt": "2021-09-29T08:24:00.000Z",
        "updatedAt": "2021-09-29T08:24:00.000Z"
      }
    ]
  },
  "statusCode": 200
}