shipping_trip_summary.| Role | Hak Akses |
|---|---|
pickup_courier | Melihat data miliknya sendiri |
delivery_courier | Melihat data miliknya sendiri |
Authorization: Bearer <token>
Content-Type: application/jsonNote:
Jika role courier,courier_idakan otomatis diambil dari token (tidak bisa lihat kurir lain).
curl --location --request GET 'https://v1.dev.bukalombok.com/v1/couriers/trips/summary?date_from=2025-08-01&date_to=2025-08-07' \
--header 'Authorization: Bearer <token>'{
"meta": {
"success": true,
"status": 200,
"message": "Success"
},
"data": {
"alltime": {
"id_courier": "a12b7dd0-a898-3bcb-26e0-6a7e290fed9b",
"total_distance_km": 686866,
"total_cost": 653464634,
"total_weight_gram": 664563,
"total_task": 39791480,
"name": "Charlotte Adams",
"role": "delivery_courier"
},
"priode": {
"id_courier": "2c615897-0cd3-c000-0873-0e6d8c5e8289",
"total_distance_km": 686866,
"total_cost": 653464634,
"total_weight_gram": 664563,
"date_from": "2025-03-14",
"date_to": "2024-12-22",
"total_task": 6756546,
"name": "Patti Orn",
"role": "delivery_courier"
}
}
}