{
"action": "START_DELIVERY"
}curl --location --request PATCH 'https://v1.dev.bukalombok.com/v1/courier/delivery/0fb397a2-c571-41f3-ac18-c3a2e37df397/status' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"action": "SCAN_DELIVERY",
"trackingNumber": "BL20251107602169"
}'{
"meta": {
"success": true,
"status": 200,
"message": "Berhasil mengambil 1 pickup task"
},
"data": [
{
"id": "1d9deddb-1ac2-40be-b124-96d661511f01",
"status": "ASSIGNED",
"pickupDate": "2025-10-29T01:00:00.000Z",
"scheduledAt": "2025-10-27T23:11:49.597Z",
"startedAt": null,
"completedAt": null,
"estimatedDuration": 2,
"vendor": {
"name": "Toko Elektronik Maju",
"phone": "6281234567002",
"fullAddress": "Jl. Pejanggik No. 12, Cakranegara, Mataram",
"zipCode": "83231"
},
"shippingCenter": {
"name": "Gudang Mataram Pusat",
"phone": "081234567891",
"code": "MTR-001",
"fullAddress": "Jl. Pejanggik No. 45, Cakranegara, Mataram",
"zipCode": "83361"
},
"shipments": [
{
"id": "eeee8e2d-6bed-411e-a63e-5a824431b204",
"trackingNumber": "BL20251027956449",
"status": "READY",
"shippingServiceCode": "INSTANT",
"shippingTime": "14:00",
"processingTime": "2 jam",
"deliveryEstimate": "4-8 jam",
"product": {
"id": "5fa85cfa-1640-432f-9b59-dd4218fc7085",
"name": "iPhone 15 Pro",
"quantity": 3,
"variant": "White Titanium",
"weight": {
"grams": 600,
"kg": 0.6,
"display": "0.60 kg",
"displayShort": "0.6kg"
}
}
}
],
"summary": {
"totalShipments": 1,
"totalItems": 3,
"totalAmount": 74970000,
"totalWeight": {
"grams": 600,
"kg": 0.6,
"display": "0.60 kg",
"displayShort": "0.6kg"
},
"totalOrders": 1
}
}
],
"pagination": {
"currentPage": 1,
"perPage": 10,
"total": 1,
"totalPages": 1,
"hasNext": false,
"hasPrev": false
},
"summaryTask": {
"totalShipments": 1,
"totalTask": 1,
"totalAmount": 74970000,
"totalOrders": 1,
"totalWeight": {
"grams": 600,
"kg": 0.6,
"display": "0.60 kg",
"displayShort": "0.6kg"
}
}
}