- 首页
- Apps
- Multichannel & PIM Tools
- DHL Express Shipping for Magento 2 (REST API)
示意预览A build-to-order Magento 2 / Adobe Commerce extension that integrates DHL Express through its new REST API for
live cross-border rates, air waybill and commercial-invoice label generation, customs documentation, and tracking write-back. Built, installed, and supported by
ECOSIRE on your store.
什么是 DHL Express Shipping for Magento 2 (REST API)?
A build-to-order Magento 2 / Adobe Commerce extension that integrates DHL Express through its new REST API for live cross-border rates, air waybill and commercial-invoice label generation, customs documentation, and tracking write-back. Built, installed, and supported by ECOSIRE on your store. Built to order by ECOSIRE for Magento 2 / Adobe Commerce (build-to-order) — indicative price from $999.00 USD; request a quote for a scoped proposal.
核心功能
按需定制,全程代劳
无需自行搭建——由 ECOSIRE 构建、安装并提供支持的可用应用。
- 1
您下单
以一次性构建价格开始。我们在启动时与您共同确定范围。
- 2
我们构建与安装
ECOSIRE 在您的 Magento 2 上构建、配置并安装。
- 3
上线 + 支持
约一个工作周内上线,并包含两周上线支持。我们交付的代码中的缺陷免费修复。
关于此产品
DHL Express Shipping for Magento 2 (REST API) is a custom-built carrier integration for international merchants who depend on DHL Express for cross-border parcels. Magento Open Source ships only the legacy DHL XML/SOAP carrier in core, which DHL is retiring in favour of its modern MyDHL / DHL Express REST API — this extension replaces that gap with a clean, native implementation.
ECOSIRE delivers it as a proper Magento module under app/code/Ecosire/DhlExpress, registered via registration.php and wired through dependency injection (di.xml). The carrier is implemented as a Magento\Shipping\Model\Carrier\AbstractCarrierOnline subclass exposing live rates at checkout — quote requests are mapped from the quote's shipping address, package weight and dimensions to DHL's /rates REST endpoint, with results returned as standard Magento Method objects so they render in checkout, multishipping and the admin order create screen.
On shipment, the module calls DHL's /shipments endpoint to produce the air waybill, the commercial / proforma invoice and customs paperwork (HS codes, declared value, incoterms, customs line items), stores the returned label PDF against the Magento shipment, and writes the DHL tracking number back so it appears in the customer account, order emails and the admin grid. Multi-piece shipments are supported by mapping multiple Magento shipment packages to DHL piece records.
Configuration lives under Stores → Configuration → Sales → Shipping Methods, with API credentials, account number, label format and a sandbox toggle stored encrypted in core_config_data. Admin actions respect Magento ACL; webhooks/cron handle tracking refresh. Works on Magento Open Source and Adobe Commerce, and exposes shipment data to the existing REST/GraphQL order APIs. Because it is build-to-order, ECOSIRE tailors weight/dimension logic, incoterms defaults and product attribute mapping to your exact catalogue before handing over a working install.
你得到什么
- Installed, configured and working Ecosire_DhlExpress module on your Magento 2 / Adobe Commerce store (staging then production)
- DHL Express REST API connection wired to your MyDHL account credentials with sandbox-tested rate, label and tracking calls
- Catalogue mapping of product attributes (weight, dimensions, HS code, country of origin) to DHL customs and rating fields
- Composer-installable package with setup scripts, di.xml, ACL resources and admin configuration
- Short admin handover guide covering configuration, label printing and the sandbox/production toggle
- Two weeks of go-live support to resolve any defects in the delivered integration
这是给谁的
Cross-border Magento merchant
An international store shipping parcels through DHL Express that needs accurate live rates at checkout and compliant customs paperwork on every export order, without manually keying shipments into MyDHL.
Store operations / fulfilment lead
Owns the warehouse-to-doorstep flow and wants one-click air waybill and commercial-invoice printing from inside the Magento admin, plus tracking that flows back to customers automatically.
Magento agency or in-house developer
Needs a clean, DI-wired carrier module on the supported DHL REST API (not the retiring XML/SOAP carrier) that they can extend, version-control and maintain alongside the rest of the codebase.
DHL Express Shipping for Magento 2 (REST API) 如何比较
| 标准 | 伊科西尔 | 定制建造 | 竞争对手 | Magento 2 原生 |
|---|---|---|---|---|
| DHL Express new REST API (not legacy XML/SOAP) | 包含 | 部分支持 | 部分支持 | 不包括在内 |
| Live DHL rates as native Magento checkout methods | 包含 | 部分支持 | 包含 | 部分支持 |
| Air waybill + commercial invoice + customs documents | 包含 | 部分支持 | 部分支持 | 不包括在内 |
| Multi-piece shipment support | 包含 | 部分支持 | 部分支持 | 不包括在内 |
| Tracking number write-back to order, account and emails | 包含 | 部分支持 | 包含 | 不包括在内 |
| Built, installed and configured on your store for you | 包含 | 包含 | 不包括在内 | 不包括在内 |
| Tailored to your catalogue (weights, HS codes, incoterms) | 包含 | 包含 | 不包括在内 | 不包括在内 |
| Instant self-serve download today | 不包括在内 | 不包括在内 | 包含 | 包含 |
关于DHL Express Shipping的常见问题
How long does delivery take, since this is build-to-order?
This extension is custom-built, installed and configured by ECOSIRE on your store — it is not an instant Adobe Commerce Marketplace download. Typical turnaround is about one working week from the kickoff call and access handover, depending on how much catalogue and customs mapping your products need. We confirm a firm date in writing before starting and deliver to your staging environment first for sign-off.
What ongoing support and updates are included?
Every build includes two weeks of go-live support to fix any defect in the delivered integration. Beyond that, because DHL evolves its REST API and Magento ships quarterly security releases, we offer optional maintenance to keep the module compatible with new DHL API versions and Magento / Adobe Commerce upgrades. Updates are delivered to your repository, not pushed silently.
Does this use the new DHL REST API or the old XML carrier?
It uses DHL Express's modern MyDHL REST API (/rates, /shipments, tracking) — the same platform DHL is steering merchants to as it retires the legacy XML/SOAP services. Magento core only bundles the older DHL carrier, which is why a native REST implementation is needed.
Will it work on both Magento Open Source and Adobe Commerce?
Yes. The module is built against Magento 2 framework APIs and the AbstractCarrierOnline contract, so it runs on both Magento Open Source and Adobe Commerce (Cloud included). We confirm your exact Magento version during scoping and target it specifically.
What do I need to provide to get started?
A DHL Express / MyDHL account number with REST API credentials, admin and (ideally) SSH or Git access to a staging environment, and a sample of your product catalogue so we can map weights, dimensions, HS codes and country of origin. If you do not yet have API access, we will guide you through requesting it from DHL.
相关模块

Dropshipping Automation for Magento 2
A build-to-order Magento 2 / Adobe Commerce extension that turns a hybrid stock-and-dropship catalog into an automated multi-supplier network with order routing, supplier portals, and warehouse-aware fulfillment. Built, installed, and supported by ECOSIRE.
DHL Express Shipping
A build-to-order Magento 2 / Adobe Commerce extension that integrates DHL Express through its new REST API for live cross-border rates, air waybill and commercial-invoice label generation, customs documentation, and tracking write-back. Built, installed, and supported by ECOSIRE on your store.
- Live DHL Express rates at checkout via the new MyDHL REST API (/rates), returned as native Magento shipping methods in checkout, multishipping and admin order create
- Air waybill (AWB) label generation through the /shipments endpoint, stored as a PDF against the Magento shipment record
- Automatic commercial / proforma invoice and customs declaration generation with HS codes, declared value and incoterms
- International customs and duties documentation mapped from product attributes (country of origin, HS code, customs value)


