Skip to Content
dzshipBY DZBUILD
Shipping

Track a parcel

POST
/v1/track

Request Body

application/json
  1. body
courier*string
credentials?

The caller's own credentials for that courier, 1-8 string fields. Never stored. Omit entirely for the sandbox courier.

options?
trackingNumber*string
Lengthlength <= 80

Response Body

Canonical status plus every event the courier reports

application/json
  1. response
trackingNumber?string
status?string
events?array<>
Example Request
curl -X POST 'https://freeship.dzbuild.com/v1/track' \  -H 'Content-Type: application/json' \  -d '{  "courier": "string",  "trackingNumber": "string"}'
Example Response
{  "trackingNumber": "string",  "status": "string",  "events": [    {      "status": "string",      "rawStatus": "string",      "timestamp": "2019-08-24T14:15:22Z"    }  ]}