PHPackages                             nogrod/dhl-retoure-php-sdk - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. nogrod/dhl-retoure-php-sdk

ActiveLibrary[HTTP &amp; Networking](/categories/http)

nogrod/dhl-retoure-php-sdk
==========================

\# Introduction ## Overview Note: This is the specification of the DP-DHL Group Parcel DE Returns API. This web service allows business customers to create return labels on demand. # Scenarios ## Main Scenario: Creating a returnlabel This is achieved by posting a return order to the URI '/rest/orders'. The service will respond with a return label. ## Querying to get receiver locations The single scenario supported by this service is the determination of the receiver's location. This is achieved by getting a location to the URI '/rest/locations'. The service will respond with a Receiver. # Technical Note on Authorization This API supports \_\_two alternative ways\_\_ to authorize yourself: 1. Combination of Apikey and Basic Authentication which you can provide with every call. 2. OAuth2 Password Flow: After having obtained your access token once, you provide this token as bearer token. You can try it out here. More details can be found when clicking on "Authorize".

v0.2.6.1(3mo ago)1169unlicensePHPPHP ^8.1

Since Apr 29Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/Nogrod/dhl-retoure-php-sdk)[ Packagist](https://packagist.org/packages/nogrod/dhl-retoure-php-sdk)[ Docs](https://openapi-generator.tech)[ RSS](/packages/nogrod-dhl-retoure-php-sdk/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (5)Versions (11)Used By (0)

OpenAPIClient-php
=================

[](#openapiclient-php)

Introduction
============

[](#introduction)

Overview
--------

[](#overview)

Note: This is the specification of the DP-DHL Group Parcel DE Returns API. This web service allows business customers to create return labels on demand.

Scenarios
=========

[](#scenarios)

Main Scenario: Creating a returnlabel
-------------------------------------

[](#main-scenario-creating-a-returnlabel)

This is achieved by posting a return order to the URI '/rest/orders'. The service will respond with a return label.

Querying to get receiver locations
----------------------------------

[](#querying-to-get-receiver-locations)

The single scenario supported by this service is the determination of the receiver's location. This is achieved by getting a location to the URI '/rest/locations'. The service will respond with a Receiver.

Technical Note on Authorization
===============================

[](#technical-note-on-authorization)

This API supports **two alternative ways** to authorize yourself:

1. Combination of Apikey and Basic Authentication which you can provide with every call.
2. OAuth2 Password Flow: After having obtained your access token once, you provide this token as bearer token.

You can try it out here. More details can be found when clicking on "Authorize".

Installation &amp; Usage
------------------------

[](#installation--usage)

### Requirements

[](#requirements)

PHP 8.1 and later.

### Composer

[](#composer)

To install the bindings via [Composer](https://getcomposer.org/), add the following to `composer.json`:

```
{
  "repositories": [
    {
      "type": "vcs",
      "url": "https://github.com/nogrod/dhl-retoure-php-sdk.git"
    }
  ],
  "require": {
    "nogrod/dhl-retoure-php-sdk": "*@dev"
  }
}
```

Then run `composer install`

### Manual Installation

[](#manual-installation)

Download the files and include `autoload.php`:

```
