Tracking (Pull)
Tracking information is obtained from KiriminAja and the courier service, then consolidated into one dataset.
[POST] /api/mitra/tracking
Payload
Request
Field | DataType | Nullable | Desc |
---|---|---|---|
order_id | string(max:20) | false | Order ID or AWB of your parcels |
{
"order_id": "OID-8793949106"
}
Response
{
"status": true,
"text": "Delivered to BAGUS | 14-07-2021 16:00 | YOGYAKARTA ",
"method": "shTracking",
"status_code": 200,
"details": {
"awb": "DEVEL-000000004",
"signature_code": "C1OJWQAG",
"sorting_code": "JOG-JOG1000-JKT2020",
"order_id": "OID-8793949106",
"status_code": null,
"estimation": "-",
"service": "jne",
"service_name": "REG",
"drop": false,
"shipped_at": "2021-07-13 17:44:04",
"delivered": true,
"delivered_at": "2021-10-17 16:53:00",
"refunded": false,
"refunded_at": "",
"images": {
"camera_img": "https://s3-ap-southeast-1.amazonaws.com/pod.paket.id/1626253243482P||1411922100004643.jpeg",
"signature_img": "https://s3-ap-southeast-1.amazonaws.com/pod.paket.id/1626253255242S||1411922100004643.jpeg",
"pop_img": null
},
"costs": {
"add_cost": 0,
"currency": "IDR",
"cod": 0,
"insurance_amount": 0,
"insurance_percent": 0,
"discount_amount": 0,
"subsidi_amount": 0,
"shipping_cost": 10000,
"correction": 0
},
"origin": {
"name": "KiriminAja",
"address": "Jl. Utara Stadion No.8, Jetis, Wedomartani",
"phone": "628000000",
"city": "Kabupaten Sleman",
"zip_code": "55283"
},
"destination": {
"name": "Zainal Arifin",
"address": "Ngaglik RT. 32 Pendowoharjo Sewon Bantul Yogyakarta 55185",
"phone": "6287839087416",
"city": "Kabupaten Bantul",
"zip_code": "55715"
}
},
"histories": [
{
"created_at": "2021-07-14 16:00:00",
"status": "Delivered to BAGUS | 14-07-2021 16:00 | YOGYAKARTA ",
"status_code": 200,
"driver": "",
"receiver": "BAGUS"
},
{
"created_at": "2021-07-14 09:53:00",
"status": "With delivery courier YOGYAKARTA",
"status_code": 100,
"driver": "",
"receiver": ""
},
{
"created_at": "2021-07-14 00:02:00",
"status": "Received at inbound station YOGYAKARTA - KP. GAMBIRAN",
"status_code": 100,
"driver": "",
"receiver": ""
},
{
"created_at": "2021-07-13 20:44:00",
"status": "Shipment forwarded to destination YOGYAKARTA - KP. GAMBIRAN",
"status_code": 100,
"driver": "",
"receiver": ""
},
{
"created_at": "2021-07-13 18:34:00",
"status": "Received at sorting center YOGYAKARTA",
"status_code": 100,
"driver": "",
"receiver": ""
},
{
"created_at": "2021-07-13 17:44:00",
"status": "Shipment received by jne counter officer at YOGYAKARTA",
"status_code": 100,
"driver": "",
"receiver": ""
},
{
"status": "Paket dibuat oleh KiriminAja",
"status_code": 100,
"created_at": "2021-07-07 14:40:42",
"driver": "",
"receiver": ""
}
]
}
Field | Type | Reason |
---|---|---|
status | boolean | Response status |
text | text | Response message |
status_code | number | Package status |
details | object | The details |
details.awb | string | Awb code, will be null if not processed yet |
details.signature_code | string | Delivery signature code |
details.sorting_code | string | Delivery sorting code, some 3pl |
details.order_id | string | Parcel order id |
details.estimation | string | Parcel etd, for example 3-4 |
details.service | string | Product type, like jne ,jnt |
details.service_name | string | Product type, like REG ,YES , or EZ |
details.shipped_at | timestamp | Your parcel delivery date (if already manifest by 3pl). Nullable |
details.delivered | boolean | Indicates if your package is delivered to recipient |
details.delivered_at | timestamp | Your parcel arrival date (if already received to recipient). Nullable |
details.refunded | boolean | Indicates if your package is returned to sender |
details.refunded_at | timestamp | Your parcel arrival date (if already returned to sender). Nullable |
details.images.camera_img | string | Proof of delivery on shipment when delivered |
details.images.signature_img | string | Proof of delivery (courier signature) on shipment when delivered |
details.images.pop_img | string | Proof of delivery (courier signature) on shipment when delivered |
details.costs | object | |
details.origin | object | |
details.destination | object | |
histories | array |
details.costs
Field | Type | Reason |
---|---|---|
add_cost | number | Validated COD Fee |
currency | string | Currency config, default is IDR |
cod | number | COD Amount, if 0 mean your shipment is non-cod delivery |
insurance_amount | number | Validated insurance amount |
insurance_percent | number | Validated insurance percent (principal) |
discount_amount | number | Validated discount amount |
subsidi_amount | number | Shipment cover cost (principal) |
shipping_cost | number | Actual shipping cost |
correction | number | Correction cost |
details.origin
& details.destination
Field | Type | Reason |
---|---|---|
name | string | String |
address | string | Delivery address detail |
phone | string | Phone |
city | string | City name |
zip_code | number | Zipcode |
histories
Field | Type | Reason |
---|---|---|
created_at | timestamp | Histories time |
status | text | Delivery remarks, free text by 3pl |
status_code | number | Mapped status_code by KiriminAja |
driver | string | Driver name |
receiver | string | Receiver name |
histories.status
(Status)
- New
Package still pending to process by 3pl, like just created by client - Transit
The package still processed by 3PL, and will shipped according to SLA - Attempt
The package can't be delivered to destination due some reasons. - Final
The package delivery is stopped
Code | Description | State |
---|---|---|
100 | The package is in the process of being shipped | Transit |
101 | The package has just been created or is in the queue waiting for pickup | New |
105 | The package is waiting for shipping and waiting to get the AWB | New |
152 | The package is in a re-delivery attempt to the recipient | Re-attempt |
200 | The package has arrived at its destination | Final |
300 | The package was canceled by the system or upon request | Final |
500 | The package is experiencing delivery issues (undelivered) | Re-attempt |
555 | The package was seized by customs and cannot continue shipping | Final |
401 | The package is in the process of being returned to the sender (return to origin) | Transit |
402 | The returned package has arrived at the sender | Final |
400 | The returned package has been successfully returned | Final |
701 | The package was lost in transit | Transit |
702 | The package was damaged in transit | Transit |
703 | The claim for the lost package has been completed | Final |
704 | The claim for the damaged package has been completed | Final |