curl --request GET \
--url http://localhost:3091/v1/api/dashboard/stats \
--header 'Authorization: Bearer <token>'{
"totalShipments": 123,
"pendingShipments": 123,
"completedShipments": 123,
"totalTrips": 123,
"activeTrips": 123,
"walletBalance": 123,
"totalEarned": 123,
"totalWithdrawn": 123,
"reviewCount": 123,
"averageRating": 123,
"unreadNotifications": 123
}Returns aggregated statistics for the authenticated user’s dashboard
curl --request GET \
--url http://localhost:3091/v1/api/dashboard/stats \
--header 'Authorization: Bearer <token>'{
"totalShipments": 123,
"pendingShipments": 123,
"completedShipments": 123,
"totalTrips": 123,
"activeTrips": 123,
"walletBalance": 123,
"totalEarned": 123,
"totalWithdrawn": 123,
"reviewCount": 123,
"averageRating": 123,
"unreadNotifications": 123
}JWT access token from POST /v1/api/auth/login
Statistics retrieved successfully