Conformance with the DHL documentation
What the add-on does, against the official DHL documentation and OpenAPI files (developer.dhl.com, downloaded November 2026): Parcel DE Shipping (Post & Parcel Germany) v2.2.0, Authentication API (Post & Parcel Germany) 2.0.6, Shipment Tracking - Unified 1.5.8 and Location Finder - Unified 1.14.0. The add-on is proven against a local mock that validates every request against these specifications; it has not been run against your DHL account until you test the connection.
| Topic | Documented behaviour | What the add-on does |
|---|---|---|
| Environments | Sandbox https://api-sandbox.dhl.com/parcel/de/shipping/v2, production https://api-eu.dhl.com/parcel/de/shipping/v2; production is approved after a successful sandbox run |
Test mode uses the sandbox host, Live mode the production host; two sets of credentials and billing numbers |
| Authentication | OAuth2 password grant: POST /parcel/de/account/auth/ropc/v1/token with grant_type=password, username, password (GKP), client_id, client_secret as form data; answer access_token, token_type, expires_in; Basic Auth is deprecated |
Password grant, token cached encrypted per account and mode until shortly before it expires, signed in again once on HTTP 401. No Basic Auth |
| Test connection | GET /hello of the Authentication API tests the token; validate=true on POST /orders validates without side effects |
Token, /hello (EKP shown), then a validate=true shipment with the configured billing number and a sample consignee; nothing is created |
| Create shipment | POST /orders with profile and up to 30 shipments; each has product, billingNumber (14 characters, digits 11 and 12 = product), refNo (8 to 35 characters), shipDate (today or later), shipper (address or shipperRef), consignee, details (weight required), services, customs |
One shipment per request. Product from the service: V01PAK, V53WPAK (destination outside Germany), V54EPAK, V62KP. refNo = “Order 000123”; shipDate = today in Europe/Berlin plus the setting; shipper from the Connection page, a shipper reference, or the company data; weight in grams (maximum 31 500) |
| Consignee | Address (name1.. name3, addressStreet, addressHouse, postalCode, city, country ISO alpha-3, phone, email), Locker (name, lockerID 100 to 999, postNumber, city, postalCode), PostOffice (name, retailID 401 to 999, postNumber or email, …), PO box; Packstation and post offices only in Germany |
Address with street and house number split; company becomes name1, the person name2; Locker and PostOffice with the number range checked on the server; phone only outside Germany and only with the consent setting; e-mail only with consent, or for a PostOffice without Postnummer. PO box addresses are not offered |
| Services | cashOnDelivery (Euro, bank account or accountReference, transferNote1), visualCheckOfAge (A16, A18), noNeighbourDelivery, goGreenPlus, dhlRetoure (return billing number, return address), others |
Those five. Other services (preferred day, neighbour or location, ident check, bulky goods, premium, drop point routing …) are not offered in 1.0.0 |
| Customs | customs is needed outside the EU customs union (Northern Ireland, postal code BT, is inside): exportType, postalCharges, items with description, value and weight of one single item, quantity; currencies must match |
Added for destinations outside the EU: COMMERCIAL_GOODS, postal charges and item values in Euro, item weight in kg, country of origin from the setting. Paperless customs upload (/customs-documents) is not used |
| Label | includeDocs include or URL, docFormat PDF or ZPL2, printFormat (A4, 910-300-xxx, 100x70mm), combine, mustEncode; labels must not be scaled |
All of these. The label is requested inline (includeDocs=include), stored, and downloaded from the stored copy; a URL answer is downloaded once. COD label, return label and customs document are stored as further documents |
| Documents later | GET /orders?shipment=... returns documents of shipments not closed out; for a specific number up to three days after the close-out |
Used when the creation answer had no label (the queue retries until it has one) |
| Cancel | DELETE /orders?profile=...&shipment=... only before the close-out |
Cancel button; a closed-out shipment is refused locally, DHL’s message is shown otherwise |
| Close-out | POST /manifests with profile and shipmentNumbers (or billingNumber); automatic at the end of day time of the portal; GET /manifests returns the manifest document |
Close out selected shipments; manifest PDF of the day |
| Validation messages | Items carry validationMessages with property, validationMessage, validationState (Error or Warning); a warning still returns a valid label |
Errors become the message of the failed job, warnings are logged and the label is kept |
| Errors | RequestStatus (title, status, detail) as application/problem+json; 401, 429 and 500 documented |
HTTP 4xx other than 401 (after one token refresh), 408, 425, 429 is permanent; 429 is retried with back-off. A shipment request is never resent after a timeout, a network error or a 5xx: DHL may already have created the shipment, so the request is marked “result unknown” and the merchant reconciles it (adopt the shipment number or confirm that nothing was created). The reference number (refNo) is unique per attempt (Order 000123-<id>) so the shipment can be found in the business customer portal |
| Tracking | GET /track/shipments?trackingNumber=...&service=parcel-de&recipientPostalCode=... with header DHL-API-Key; statusCode is delivered, failure, pre-transit, transit or unknown; 404 when the shipment is not known |
Status mapped to created, in transit, delivered, problem; the status text and serviceUrl are stored; 404 keeps “created”. Polled by cron every two hours |
| Locations | GET /location-finder/v1/find-by-address with providerType=parcel and locationType (locker, postoffice, servicepoint), GET /locations/{id}, header DHL-API-Key; keywordId is the Packstation or retail number |
Search around the shipping address; the choice is validated with GET /locations/{id} (type and number range) before it is stored; the Location Finder has no sandbox in the specification, it uses the production host |
| Rate limits | 429 documented; no figures in the specification | Back-off retries, no parallel bursts, at most 200 shipments checked per cron run |
Not covered in 1.0.0
Section titled “Not covered in 1.0.0”Shipments to the USA (they need a customs invoice uploaded first, invoiceUsCustoms; the add-on refuses them and the country is not offered). Cash on delivery, the visual age check and no-neighbour delivery are sent for DHL Paket within Germany only (V01PAK to DE), as DHL offers them. Multi-piece shipments (the API has none), Warenpost International (V66WPI) and the old Warenpost (V62WP), DHL Retoure International (it needs the separate Parcel DE Returns API), paperless customs documents, PO box addresses, preferred day / neighbour / location, ident check, additional insurance, bulky goods, premium and drop point options, pickup orders, SOAP (retired by DHL).