Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Dhl Shipping Knowledge Patch?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/nevaberry-dhl-shipping-knowledge-patch-nevaberry-plugins)
---
name: dhl-shipping-knowledge-patch
description: DHL Shipping
version: null
license: MIT
metadata:
author: Nevaberry
---
# DHL Shipping
Use this skill when implementing or updating eCommerce Americas, Unified Location
Finder, MyDHL Express, or Parcel Germany Shipping integrations. Load the relevant
topic reference for the API, fields, conditions, and examples involved in the task.
## Reference index
| Reference | Topics |
| --- | --- |
| [API Selection and Access](references/api-selection-and-access.md) | Shipment scope, environments, authentication, quotas, compatibility, errors, migrations, generated clients |
| [Customs and Dangerous Goods](references/customs-and-dangerous-goods.md) | Destination rules, customs data, manufacturer identifiers, invoices, reference codes, registration types, dangerous goods |
| [Location Search and Addressing](references/location-search-and-addressing.md) | Search filters, service codes, country coverage, locker fields, direct-delivery addresses, location migration, data terms |
| [Rates, Tracking, Images, and Reference Data](references/rates-tracking-and-documents.md) | Product selection, estimates, cutoff fields, tracking, webhooks, document images, reference datasets, Breakbulk, data terms |
| [Shipment, Label, and Manifest Lifecycle](references/shipment-label-and-manifest.md) | Validation, billing, parcels, sender references, labels, printing, returns, notifications, cancellation, closeout |
## Migrations, removals, and compatibility
### Parcel Germany Shipping
Migrate integrations to REST v2. Basic authentication remains available in v2 with
portal credentials and `dhl-api-key`; future major versions will drop Basic.
`GET /` returns the version without an access token and leaves protected-operation
credentials untested.
Kleinpaket replaced domestic Warenpost on January 1, 2025. Since October 15, 2025,
Kleinpaket requests must explicitly set `Consignee.ContactAddress.country` to an
ISO 3166-1 alpha-3 code such as `DEU`; the previous default was removed.
Use Paketankündigung for notifications. Versandbestätigung stopped being supported
in 2.1.6 and was removed from value-added services in 2.1.7. `officeOfOrigin` is
deprecated. For 2.1.13, refresh generated clients for corrected `GET /labels` and
`GET /manifests` responses, the corrected `shippingConditions` enum, and the new
`product` enum.
GoGreen ended August 31, 2026, with its old logo due off labels by that date.
The old GoGreen Plus logo was due off labels by September 27, 2026; the replacement
GoGreen Plus claim is optional.
### eCommerce Americas
Select products by product ID and key error and tracking logic on error codes and
event IDs: display names and descriptions can change. Clients must tolerate new
and reordered response properties within v4; optional request properties or query
parameters, HTTP methods, and resources are also backwards-compatible additions.
Read `shipDate` from Product Finder responses; the `rateDate` request field is
deprecated. Remove distribution centers `USISP1` and `USMEM1` from selection.
Use the January 2026 webhook schema correction for both `trackingId` length bounds
and the minimum `hookId` length.
### MyDHL Express
Shipment can validate data without generating a label; its request field
`function` was removed in 2.3.1. With the `x-version` behavior introduced in 2.12.0,
Shipment and Rates return `pickupCutoffSameDayOutboundProcessing` in place of
`GMTCutoffTime`.
In Shipment and Invoice customs documents, `PCH` (Proof of Purchase) replaced
`PPY` (Proof of Payment). Version 3.1.2 removed `MID`, `DLI`, `GST`, and `SUB` from
the documented registration codes for both operations.
### Unified Location Finder
Location Search Europe has been decommissioned. Its migration maps `zipCode` to
`postalCode`, `city` to `addressLocality`, and `street` plus `houseNo` to the combined
`streetAddress` under `place.address`. The location reference contains the remaining
field mappings, including the fields left unmapped.
## Access and request limits
| API | Access and environment considerations |
| --- | --- |
| eCommerce Americas | Test at `https://api-sandbox.dhlecs.com`; production is `https://api.dhlecs.com`. Sandbox labels and manifests are sandbox-only. Production account numbers, pickups, distribution centers, API products, and permitted content-category codes may differ. |
| Unified Location Finder | Send the approved app's Consumer Key in `DHL-API-Key` to `https://api.dhl.com/location-finder/v1`. Initial access is 500 calls per day; exhaustion returns HTTP 429. |
| MyDHL Express | Use preemptive HTTP Basic authentication with credentials for an active Express customer account. The test environment allows 500 service invocations per credential set per day. |
| Parcel Germany Shipping | Exchange app key and secret plus portal username and password for an access token, then send `Authorization: Bearer <token>`. Production requires a shipping contract, active portal account, and explicit app approval in Production (Europe). |
For eCommerce Americas HTTP 429 responses, inspect the detailed error code:
concurrent-request spike arrest and client-specific weekly quotas are distinct.
Use the environment's inbound and outbound IP lists effective August 18, 2026.
For Parcel Germany production automation, use a system user. Its password lasts
365 days; a personal-user password lasts 90 days. The portal group profile controls
accepted billing numbers; marketplace integrations configure this per merchant.
## Shipment creation and validation
### eCommerce Americas
Use the separate domestic or international Product Finder and Label schemas for
the shipment type. Product Finder and Label accept `packageType` within the optional
`dimension` object for billable-weight calculation. Set optional
`deliveryInstructions` inside `consigneeAddress` on a Label request.
### MyDHL Express
Product lookup is limited to one-piece shipments. Use Rating to discover account
products and value-added services before passing the selection to Shipment.
Shipment validates the account's allowed product and network combination.
MyDHL checks the schema before business rules and returns validation errors in the
service result message. Shipment and Add Piece validate customer reference types
against CI Mask reference data from 3.3.0. Use Add Piece before pickup or scanning.
Standardized Express package type codes let Shipment and Rates populate dimensions.
Explicit Shipment dimensions must be greater than `0.001` to pass validation.
From 3.3.0, Shipment and pickup creation and updates validate the shipper account's
pickup cutoff; Rates uses that cutoff to determine pickup capabilities.
### Parcel Germany Shipping
Create one shipment per physical parcel. On `POST /orders`, the API checks `product`
against the procedure in the 14-character `billingNumber`: 10-digit EKP, two-character
procedure, and two-character participation. Eligibility depends on product,
contract, and user permissions.
Use `POST /orders?validate=true` before creating a shipment or label. The response
is an array even for one order and preserves request order. Multi-order validation
may omit `shipmentRefNo`, so correlate by array position.
Use `lockerID` for a Packstation consignee. Omit unavailable optional `phone` and
`email` values or send JSON `null`; whitespace-only strings can cause rejection.
Set `mustEncode=true` when labels must have encodable addresses. Without it, an
unmatched street can yield a usable label and warning, with possible surcharges.
A saved-address `shipperRef` can supply shipper details; an unknown reference
returns HTTP 400. Since the June 26, 2026 update to 2.1.14, a logo-only reference
adds its logo to the explicit shipper. With a saved address and logo, PAN records
the reference as regulator and explicit shipper as depositor; the depositor address
controls the label and undeliverable-return destination.
## Customs and manufacturer identifiers
In eCommerce Americas International Shipping Label requests, `itemReferences` under
`customsDetails` is an array of objects. Use `typeCode` `PID` for a Standardized
Manufacturer Product Identifier (S-PID) and `MID` for a Non-Standardized Manufacturer
Product Identifier (NS-PID). In MyDHL Shipment and Invoice export line items, use
`SRV` and `MF` respectively from 3.3.1; `CLN` is Customer Line Number from 3.2.1.
For eCommerce Americas, `PLX` excludes dangerous goods. PLT dangerous-goods
categories `01`–`06` and `40` are limited to Canada and Mexico. Only include domestic
Label `customsDetails` for APO, FPO, DPO, or non-continental US shipments.
MyDHL declarable shipments require `exportDeclaration` and at least one of gross
or net weight per line item. Currency and Incoterm are optional for non-declarable
shipments. To use caller-calculated amounts in Shipment or Invoice, supply all four:
`preCalculatedTotalGoodsValue`, `preCalculatedTotalInvoiceValue`,
`preCalculatedLineItemTotalValue`, and `totalWithImportDutiesAndTaxes`.
For Parcel Germany dutiable destinations, provide customs data per parcel,
including `customs.exportType` where required. UK postcodes beginning with `BT`
are exempt. Freight and all item currencies must match using ISO 4217; omitted
freight currency defaults to EUR, and a mismatch prevents label creation.
## Location search and pickup addressing
In Unified Location Finder, use `providerType=parcel` for German checkout. Repeated
`serviceType` parameters require every requested filter to match. For the two exact
German direct-delivery service classes, query `parcel:pick-up` and
`parcel:pick-up-registered` separately and combine results; each German location
offers at most one. `parcel:pick-up-all` matches any service in that parcel family.
Offer direct parcel delivery only where a designated `location.keywordId` exists,
and supply recipient email for pickup notification. Use `location.keywordId` for
the shipment address; read `location.ids[].locationId` and its paired `provider`.
For German Parcel addresses, put `Packstation` or `Postfiliale` in the street field
and `keywordId` in the house-number field. The PostNumber goes in the second name
or additional-address field: required for Packstation, optional for Postfiliale.
## Labels, closeout, and retrieval
eCommerce Americas supports PDF labels and the Void Label endpoint. Optional
Manifest `products` closes out all packages by product; Domestic Auto-Manifest is
available. MyDHL Shipment supports label-free returns and, from 3.3.0, a fallback
where label-free service is unavailable at the location. Request `linkLabelsByPieces`
as a `getAdditionalInformation` type code to link pieces to label or waybill images.
In Parcel Germany Shipping, correct an unmanifested shipment with `DELETE /orders`
and a replacement `POST /orders`; manifested shipments are locked. Explicit closeout
uses `POST /manifests`, including by `billingNumber`. Automatic closeout defaults to
17:45 or the portal setting; Paket International additionally closes out at 20:45
for orders created after regular closeout. Manifest these shipments before physical
handover to the international postal operator.
A public Parcel Germany `GET /labels` PDF URL can remain usable for up to 48 hours
after manifesting only if downloaded before manifesting. Expired URLs can return
HTTP 500. Retrieve labels with `GET /orders` and the shipment number for up to three
days after manifesting. Book domestic in-box returns with the outbound shipment;
use Parcel Germany Returns for on-demand and international returns.
## Tracking and data-use terms
eCommerce Americas Tracking events include documented `postalCode` and `country`;
domestic events also include `gmtOffset`. Webhooks support tracking-ID subscriptions.
MyDHL `trackingView=all-check-with-remarks` requests shipment- and piece-level event
remarks. Protected tracking fields are subject to authorization and masking.
Location Data terms restrict use to contexts involving other carriers' location
data and require displaying every returned location available at the searched address
without singling out locations against the operator's business interests. They prohibit
storage or modification and require prior written consent for competitive analysis
or derivation. MyDHL Product and Rating data cannot be stored or modified; prior written
consent is required for third-party disclosure or competitive analysis and derivation.
Landed Cost is for business customers; its terms prohibit repackaging or reselling the
service or data and building a database from its results.