Trackings

Get Trackings of bags V3

Get all tracking information of for the bag (identified by the given barcode).

get/dpi/tracking/v3/bag/{customerBagId}

Request

  • Base URL
    https://api-sandbox.dhl.com
  • Auth
    none declared. Required headers: Authorization

Path parameters

customerBagIdstring required

The customerBagId of the tracked bag.

Query parameters

matchingboolean

Flag to get additional fields

Headers

Authorizationstring required

Bearer Auth access_token together with the "Bearer" prefix is required. Example of the header value:"Bearer 0UuA....."

Response

Tracking data (if available).

awbstring required

AWB number

barcodestring required

Barcode

fromCitystring

Sender city

fromCountrystring

Sender country

fromNamestring

Sender name

fromZipstring

Sender zip code

publicUrlstring required

Public URL

toCitystring

Recipient city

toCountrystring

Recipient country

toNamestring

Recipient name

toZipstring

Recipient zip code

Example response

{
  "events": [
    {
      "status": "Shipment information uploaded to Deutsche Post"
    }
  ],
  "publicUrl": "",
  "barcode": "",
  "awb": ""
}

Changes

No recorded changes to this operation across all 1 revision of this API.