Download the PHP package tcgunel/omniship-dhl-express without Composer
On this page you can find all versions of the php package tcgunel/omniship-dhl-express. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download tcgunel/omniship-dhl-express
More information about tcgunel/omniship-dhl-express
Files in tcgunel/omniship-dhl-express
Download tcgunel/omniship-dhl-express
More information about tcgunel/omniship-dhl-express
Files in tcgunel/omniship-dhl-express
Vendor tcgunel
Package omniship-dhl-express
Short Description DHL Express (MyDHL API) carrier for Omniship shipping library
License MIT
Package omniship-dhl-express
Short Description DHL Express (MyDHL API) carrier for Omniship shipping library
License MIT
Please rate this library. Is it a good library?
Informations about the package omniship-dhl-express
Omniship DHL Express
DHL Express (MyDHL API) carrier driver for the Omniship multi-carrier shipping library.
Installation
Usage
Create Shipment
Track Shipment
Cancel Shipment
Cancels the pickup associated with a shipment. The dispatchConfirmationNumber from the create response is required.
Get Rates
Product Codes
| Code | Product | Type |
|---|---|---|
P |
Express Worldwide | Non-document |
D |
Express Worldwide | Document |
U |
Express Worldwide (EU) | Non-document |
K |
Express 9:00 | Non-document |
T |
Express 12:00 | Non-document |
N |
Domestic Express | Non-document |
H |
Economy Select | Non-document |
G |
Express Worldwide (B2C) | Non-document |
Tracking Status Mapping
| DHL Event | Description | ShipmentStatus |
|---|---|---|
TP |
Shipment data received | PRE_TRANSIT |
PU |
Picked up | PICKED_UP |
PL/DF/AF/CC/CR/CI |
In transit events | IN_TRANSIT |
WC |
With delivery courier | OUT_FOR_DELIVERY |
OK/DL/DD |
Delivered | DELIVERED |
NH/BA/MS/OH |
Delivery failure | FAILURE |
RR/RT |
Returned to shipper | RETURNED |
Cancel Reason Codes
| Code | Description |
|---|---|
001 |
Package not ready |
002 |
Rates too high |
003 |
Transit time too long |
006 |
Shipment cancelled by customer |
008 |
Other (default) |
API Details
- Transport: REST/JSON via PSR-18 HTTP client
- Auth: HTTP Basic Authentication (API Key + API Secret)
- Base URL:
https://express.api.dhl.com/mydhlapi/ - Test URL:
https://express.api.dhl.com/mydhlapi/test/ - Create:
POST /shipments— returns tracking number + base64 labels - Track:
GET /tracking?shipmentTrackingNumber={number}— returns events with type codes - Cancel:
DELETE /shipments/{trackingNumber}/pickup— cancels pickup (not label void) - Rates:
GET /rates— returns available products with pricing
Note: DHL Express does not provide a label-voiding endpoint. The cancel operation cancels the associated pickup request.
Testing
License
MIT
All versions of omniship-dhl-express with dependencies
PHP Build Version
Package Version
The package tcgunel/omniship-dhl-express contains the following files
Loading the files please wait ...