creatissimo/deutschepost-internetmarke

Division: Post & Parcel Germany<br /> The INTERNETMARKE is the online-postage for mail products of Deutsche Post AG.

Installs: 1

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/creatissimo/deutschepost-internetmarke

v1.0.0 2026-01-14 12:43 UTC

This package is auto-updated.

Last update: 2026-01-14 12:45:00 UTC


README

Division: Post & Parcel Germany
The INTERNETMARKE is the online-postage for mail products of Deutsche Post AG.

For more information, please visit https://www.deutschepost.de/de/i/internetmarke-porto-drucken/kundenservice/internetmarke/kontakt.html.

Installation & Usage

Requirements

PHP 8.1 and later.

Composer

To install the bindings via Composer, add the following to composer.json:

{
  "repositories": [
    {
      "type": "vcs",
      "url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"
    }
  ],
  "require": {
    "GIT_USER_ID/GIT_REPO_ID": "*@dev"
  }
}

Then run composer install

Manual Installation

Download the files and include autoload.php:

<?php
require_once('/path/to/OpenAPIClient-php/vendor/autoload.php');

Getting Started

Please follow the installation procedure and then run the following:

<?php
require_once(__DIR__ . '/vendor/autoload.php');




$apiInstance = new DPInternetmarke\Client\Api\ApiVersionResourceApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client()
);

try {
    $result = $apiInstance->apiVersion();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ApiVersionResourceApi->apiVersion: ', $e->getMessage(), PHP_EOL;
}

API Endpoints

All URIs are relative to https://api-eu.dhl.com/post/de/shipping/im/v1

Class Method HTTP request Description
ApiVersionResourceApi apiVersion GET / Get information about this REST Api version.
AppResourceApi chargeWallet PUT /app/wallet Charge users wallet
AppResourceApi checkoutShoppingCartPDFApp POST /app/shoppingcart/pdf Checkouts the PDF shopping cart. Be aware of the different types of schemas for checkout OR preview within the request. Preview does not need addresses.
AppResourceApi checkoutShoppingCartPNGApp POST /app/shoppingcart/png Checkouts the PNG shopping cart. Be aware of the different types of schemas for checkout OR preview within the request. Preview does not need addresses. The print format is not relevant at this point.
AppResourceApi initShoppingCartApp POST /app/shoppingcart Initializes a shopping cart and returns the shopOrderId.
AppResourceApi retoureVouchersApp POST /app/retoure Request retoure for ordered items corresponding to all items for shopOrderId or items with specific voucherId or trackId
AppResourceApi retrieveCatalogApp GET /app/catalog Retrieve catalogs.
AppResourceApi retrieveRetoureStateApp GET /app/retoure Retrieve retoure state for ordered items corresponding to shopRetoureId or retoureTransactionId
AppResourceApi retrieveShoppingCartApp GET /app/shoppingcart/{shopOrderId} Retrieves a shopping cart.
UserResourceApi authorization POST /user Get authorization token.
UserResourceApi retrieveUserData GET /user/profile Retrieve profile data of authorized user for shop.

Models

Authorization

Authentication schemes defined for the API:

BearerAuth

  • Type: Bearer authentication

Tests

To run the tests, use:

composer install
vendor/bin/phpunit

Author

About this package

This PHP package is automatically generated by the OpenAPI Generator project:

  • API version: 1.30
    • Generator version: 7.18.0
  • Build package: org.openapitools.codegen.languages.PhpClientCodegen