Quelle: PPL-Datei / feste Mapping-Tabelle. Products API 401 blockiert diesen PPL-basierten Kauf nicht.
| Produkt | productCode | total (Cent) | Preis | max. Maße | max. Gewicht |
|---|---|---|---|---|---|
| Standardbrief DE | 1 | 95 | 0,95 € | 235 x 125 x 5 mm | 20 g |
| Kompaktbrief DE | 11 | 110 | 1,10 € | 235 x 125 x 10 mm | 50 g |
| Großbrief DE | 21 | 180 | 1,80 € | 353 x 250 x 20 mm | 500 g |
| Maxibrief DE | 31 | 290 | 2,90 € | 353 x 250 x 50 mm | 1000 g |
Quelle: Deutsche Post INTERNETMARKE OpenAPI v1.30 — POST /app/shoppingcart/pdf?directCheckout=true
Endpoint: POST https://api-eu.dhl.com/post/de/shipping/im/v1/app/shoppingcart/pdf?directCheckout=true
InvalidTypeIdException-Ursache: Jackson InvalidTypeIdException: Root-Objekt ohne type-Discriminator AppShoppingCartPDFRequest; total/pageFormatId fälschlich in positions[]; recipient statt receiver; street/zip statt addressLine1/postalCode; country als DE statt ISO-3 DEU; fehlendes position-Objekt.
components.schemas.AppShoppingCartPDFRequest (discriminator: type)components.schemas.AppShoppingCartPDFPosition (discriminator: positionType)components.schemas.AddressBindingcomponents.schemas.Addresscomponents.schemas.VoucherPositionKorrekturen gegenüber altem Payload:
{
"createManifest": false,
"createShippingList": "2",
"dpi": "DPI300",
"positions": [
{
"positionType": "AppShoppingCartPDFPosition",
"productCode": 21,
"total": 180,
"pageFormatId": 2,
"voucherLayout": "ADDRESS_ZONE",
"address": {
"sender": {
"name": "AuktionPower GmbH",
"street": "Am Brunnstein 1",
"zip": "82481",
"city": "Mittenwald",
"country": "DE"
},
"recipient": {
"name": "DEPrint Testempfänger",
"street": "Testweg 1",
"zip": "53113",
"city": "Bonn",
"country": "DE"
}
}
}
]
}{
"type": "AppShoppingCartPDFRequest",
"total": 180,
"createManifest": false,
"createShippingList": "2",
"dpi": "DPI300",
"pageFormatId": 2,
"positions": [
{
"productCode": 21,
"voucherLayout": "ADDRESS_ZONE",
"positionType": "AppShoppingCartPDFPosition",
"position": {
"labelX": 1,
"labelY": 1,
"page": 1
},
"address": {
"sender": {
"name": "AuktionPower GmbH",
"addressLine1": "Am Brunnstein 1",
"postalCode": "82481",
"city": "Mittenwald",
"country": "DEU"
},
"receiver": {
"name": "DEPrint Testempfänger",
"addressLine1": "Testweg 1",
"postalCode": "53113",
"city": "Bonn",
"country": "DEU"
}
}
}
]
}Nur Anzeige — kein API-Aufruf, kein Porto. Der Echtkauf-Button verwendet den korrigierten Payload.
| Versandprodukt | Großbrief DE |
|---|---|
| productCode | 21 |
| total | 180 (Cent = 1,80 €) |
| Quelle | PPL-Datei / feste Mapping-Tabelle |
| Empfänger (Testdaten) | DEPrint Testempfänger, Testweg 1, 53113 Bonn, DE |
| Absender | AuktionPower GmbH, Am Brunnstein 1, 82481 Mittenwald, DE |
Zeigt den konkreten ShoppingCart-PDF-Payload — kein Porto, keine API-Anfrage.
Status: System-Freischaltung: ja
Beim echten Kauf wird Porto über die Portokasse belastet und eine Internetmarke erzeugt. Ohne System-Freischaltung (LIVE_PURCHASE_ENABLED=true) blockiert der Server jeden Live-Kauf.
Echtkauf deaktiviert. Der erste Live-Test erfolgt nur mit Großbrief DE.
| Produkt | Kompaktbrief DE |
|---|---|
| productCode | 11 |
| total | 110 (Cent = 1,10 €) |
| Empfänger (Testdaten) | DEPrint Testempfänger, Testweg 1, 53113 Bonn, DE |
| Absender | AuktionPower GmbH, Am Brunnstein 1, 82481 Mittenwald, DE |
Absender aus Versanddienst-Einstellungen. Zugangsdaten aus Internetmarke Einstellungen.