GET /v1/courier/live/eta| Type | Description |
|---|---|
| Bearer Token | SUPER_ADMIN, SP_ADMIN, CUSTOMER, VENDOR, INTERNAL_COURIER, DELIVERY_COURIER, PICKUP_COURIER |
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
orderShipmentId | string | Conditional* | ID shipment | 43d7bbde-6649-4ffc-ab4d-e84c031859e5 |
trackingNumber | string | Conditional* | Nomor tracking (alternatif) | BL20260111456637 |
destinationLat | number | Optional | Latitude tujuan custom | -8.650 |
destinationLng | number | Optional | Longitude tujuan custom | 116.350 |
Note:* Required: orderShipmentIdATAUtrackingNumber
| Role | Live Tracking | ETA | Notes |
|---|---|---|---|
CUSTOMER | ✅ (Own shipments only) | ✅ (Own shipments only) | Hanya bisa track shipment milik sendiri |
VENDOR | ✅ (Own shop shipments) | ✅ (Own shop shipments) | Hanya shipment dari tokonya |
DELIVERY_COURIER | ✅ (Assigned shipments) | ✅ (Assigned shipments) | Hanya shipment yang ditugaskan |
PICKUP_COURIER | ✅ (Assigned shipments) | ✅ (Assigned shipments) | Hanya shipment yang ditugaskan |
INTERNAL_COURIER | ✅ (All shipments) | ✅ (All shipments) | Full access |
SP_ADMIN | ✅ (All shipments) | ✅ (All shipments) | Full access |
SUPER_ADMIN | ✅ (All shipments) | ✅ (All shipments) | Full access |
curl --location --request GET 'https://v1.dev.bukalombok.com/v1/courier/live/eta?orderShipmentId=122febad-e55a-4f31-8d5e-0bbf12f4f746&trackingNumber=BIN20260121137671ZYO' \
--header 'Authorization: Bearer <token>'{
"meta": {
"success": true,
"status": 200,
"message": "ETA berhasil dihitung"
},
"data": {
"shipment": {
"id": "13e6a29d-4129-4c5e-ad2f-b91ed3648c32",
"status": "DELIVERED",
"priority": "HIGH",
"trackingNumber": "BIN20260121137671ZYO",
"orderNumber": "ORD-TOKOSE-260121-B7484BD8",
"vendorName": "Toko Bahan Kue Lengkap",
"shippingDate": "2026-01-24T04:00:00.000Z"
},
"currentLocation": null,
"destination": null,
"distanceRemaining": {
"km": 0,
"formatted": "0 km"
},
"estimatedArrival": {
"minutes": 0,
"time": "2026-01-21T03:26:34.242Z",
"formatted": "Sudah diterima",
"status": "DELIVERED"
},
"speed": {
"currentKmh": 0,
"averageKmh": 0,
"formatted": "0 km/jam"
},
"courier": null,
"confidence": "high",
"calculationTime": "2026-01-21T05:16:55.724Z",
"lastUpdated": "2026-01-21T03:26:34.242Z",
"note": "Paket sudah diterima oleh pelanggan"
}
}