# DHL

> Track DHL shipments across supported divisions with the Unified Shipment Tracking API.

App · 1 action. Web page: https://docs.lodol.com/docs/integrations/dhl

## Actions

### Track shipment

Track shipment.

**Inputs**

- TrackingNumber (`trackingNumber`, text, required): The tracking number of the shipment for which to return the information.
- Service (`service`, text): Hint which service (provider) should be used to resolve the tracking number. One of: `dgf`, `dsc`, `ecommerce`, `ecommerce-apac`, `ecommerce-europe`, `ecommerce-ppl`, `ecommerce-iberia`, `express`, `freight`, `parcel-de`, and 7 more.
- RequesterCountryCode (`requesterCountryCode`, text): Optional [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code represents country of the consumer of the API response. It optimizes the return of the API response.
- OriginCountryCode (`originCountryCode`, text): Optional [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code of the shipment origin to further qualify the shipment tracking number (`trackingNumber`) parameter of the request.
- RecipientPostalCode (`recipientPostalCode`, text): Postal code of the destination address to * further qualify the shipment tracking number (trackingNumber) parameter of the request or * parcel-nl and parcel-de services to display full set of data in the response.
- Language (`language`, text): ISO 639-1 2-character language code for the response. This parameter serves as an indication of the client preferences ONLY. Language availability depends on the service used. The actual response language is indicated by the Content-Language header.
- Offset (`offset`, number): Pagination parameter. Offset from the start of the result set at which to retrieve the remainder of the results (if any). At least 0.
- Limit (`limit`, number): Pagination parameter. Maximal number of results to retireve. At least 1.

**Outputs**

- `data` (object): Unified tracking response object
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation token for the next page.

**Example output**

```json
{
  "data": {
    "firstUrl": "example",
    "lastUrl": "example",
    "nextUrl": "",
    "possibleAdditionalShipmentsUrl": [],
    "prevUrl": "example",
    "shipments": [],
    "url": "example"
  },
  "has_more": false,
  "next_cursor": "example"
}
```
