Tracking Statuses
Operator avatar
Written by Operator
Updated over a week ago

Tracking Statuses

This page is about the various tracking_status of the JSON response, which represents different milestones of the delivery/collection process.

Flow of tracking_status

Value

Description

in_transit

New job created in Detrack; but goods yet to reach courier for performing delivery.

info_recv

New job created in Detrack. Goods reached courier for performing delivery; but without any assigned vehicle. assign_to: null

dispatched

Job being assigned to a vehicle.

completed

Job completed by driver.

completed_partial

Job completed by driver, but with at least 1 item rejected in items array.

failed

Job failed.

on_hold

When admin changes the status to on-hold manually through the dashboard.
Used when there is some issue with the job, and the admin wishes to delay the job.

return

When admin changes the status to return manually though the dashboard.
Used when there is some issue with the job, and that the goods are to be returned to the shipper.

SAMPLE JSON RESPONSE

{
   "info":{
      "status":"ok"
   },
   "results":[
      {
         "date":"2014-02-13",
         "do":"DO140213001",
         "status":"ok",
         "delivery":{
            "date":"2014-02-13",
            "address":"63 Ubi Avenue 1 Singapore 408937",
            "delivery_time":"09:00 AM - 12:00 PM",
            "deliver_to":"John Tan",
            "phone":"+6591234567",
            "notify_email":"john.tan@example.com",
            "notify_url":"http://www.example.com/notify.php",
            "assign_to":"GT1234H",
            "instructions":"Call customer upon arrival.",
            "zone":"East",
            "reason":"",
            "note":"",
            "received_by":"",
            "tracking_status":"dispatched",
            "image":0,
            "view_image_url":"",
            "do":"DO140213001",
            "status":"In Progress",
            "time":"",
            "pod_lat":"",
            "pod_lng":"",
            "pod_address":"",
            "items":[
               {
                  "sku":"T0201",
                  "desc":"Test Item #01",
                  "qty":1,
                  "reject":0,
                  "reason":""
               },
               {
                  "sku":"T0202",
                  "desc":"Test Item #02",
                  "qty":5,
                  "reject":0,
                  "reason":""
               },
               {
                  "sku":"T0203",
                  "desc":"Test Item #03",
                  "qty":10,
                  "reject":0,
                  "reason":""
               }
            ]
         }
      }
   ]
}

Did this answer your question?