Download the PHP package kruegge82/dhl-php-rest-sdk without Composer
On this page you can find all versions of the php package kruegge82/dhl-php-rest-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download kruegge82/dhl-php-rest-sdk
More information about kruegge82/dhl-php-rest-sdk
Files in kruegge82/dhl-php-rest-sdk
Package dhl-php-rest-sdk
Short Description Note: This is the specification of the DPDHL Group Parcel DE Shipping API for Post & Parcel Germany. This REST web service allows business customers to create shipping labels on demand.
License MIT
Homepage https://openapi-generator.tech
Informations about the package dhl-php-rest-sdk
OpenAPIClient-php
Note: This is the specification of the DPDHL Group Parcel DE Shipping API for Post & Parcel Germany. This REST web service allows business customers to create shipping labels on demand.
Installation & Usage
Requirements
PHP 7.4 and later. Should also work with PHP 8.0.
Composer
To install the bindings via Composer, add the following to composer.json
:
Then run composer install
Manual Installation
Download the files and include autoload.php
:
Getting Started
Please follow the installation procedure and then run the following:
API Endpoints
All URIs are relative to https://api-eu.dhl.com/parcel/de/shipping/v2
Class | Method | HTTP request | Description |
---|---|---|---|
GeneralApi | rootGet | GET / | Return API version |
ManifestsApi | getManifests | GET /manifests | Retrieve daily manifest document |
ManifestsApi | manifestsPost | POST /manifests | Mark shipments as being ready for shipping |
ShipmentsAndLabelsApi | createOrders | POST /orders | Create one or more shipments and their documents. (This is the primary call of the API.) |
ShipmentsAndLabelsApi | getLabel | GET /labels | Download PDF document |
ShipmentsAndLabelsApi | getOrder | GET /orders | Retrieve shipment documents - labels and customs documents |
ShipmentsAndLabelsApi | ordersAccountDelete | DELETE /orders | Delete one or more shipments |
Models
- BankAccount
- Commodity
- Consignee
- ContactAddress
- Country
- CustomsDetails
- Dimensions
- Document
- GetManifestData
- LabelDataResponse
- Locker
- MultipleManifestResponse
- POBox
- PostOffice
- RequestStatus
- ResponseItem
- ServiceInformation
- ServiceInformationAmp
- ServiceInformationBackend
- Shipment
- ShipmentDetails
- ShipmentManifestingRequest
- ShipmentOrderRequest
- ShipmentShipper
- Shipper
- ShipperReference
- ShortResponseItem
- SingleManifestResponse
- VAS
- VASCashOnDelivery
- VASDhlRetoure
- VASIdentCheck
- ValidationMessageItem
- Value
- Weight
Authorization
Authentication schemes defined for the API:
BasicAuth
- Type: HTTP basic authentication
ApiKey
- Type: API key
- API key parameter name: dhl-api-key
- Location: HTTP header
OAuth2
- Type:
OAuth
- Flow:
password
- Authorization URL: ``
- Scopes: N/A
Tests
To run the tests, use:
All versions of dhl-php-rest-sdk with dependencies
ext-curl Version *
ext-json Version *
ext-mbstring Version *
guzzlehttp/guzzle Version ^7.3
guzzlehttp/psr7 Version ^1.7 || ^2.0