v1
latestOpenAPI 3.0.12026-07-242073551.1 MBPrint Label
This changes the status of the shipment to label printed. This should be done at the time of actual printing or label creation dependent on how you operate in reality. Shipments must be updated to printed status prior to manifesting.
Path parameters
Shipment ID <br />The Shipment ID may be an id or a tracking/barcode number.
Query parameters
Sets the label format that will be returned in the createShipment Response. <br />Valid values are: <br />PDF - returns a Base64-encoded PDF <br />PNG - returns a Base64-encoded PNG <br />ZPL203DPI - returns Base 64 encoded text for Zebra printer at 203 DPI <br />ZPL300DPI - returns Base 64 encoded text for Zebra printer at 300 DPI <br />QRCode - returns the DPD Netherlands specific QR code label <br />QRCodeAndPDF - returns the DPD Netherlands specific QR code label with PDF label <br />Defaults to PDF if not populated.
Label Format
<br />
<br />PDF - Base 64 encoded PDF
<br />PNG - Base 64 encoded PNG
<br />ZPL203DPI - Base 64 encoded text for Zebra printer at 203 DPI
<br />ZPL300DPI - Base 64 encoded text for Zebra printer at 300 DPI
<br />QRCode - DPD Netherlands specific QR code label
<br />QRCodeAndPDF - DPD Netherlands specific QR code label with PDF label
<br />
<br />Defaults to PDF if not populated.
Response
Returns the printed label in the format specified.
Example response
{
"ShipmentId": "c4e60776-288f-464e-b35b-ff0f3252c0f0",
"TrackingNumber": "TT12384739GB",
"CarrierTrackingUrl": "http://shipmentcarrier.com/tracking/DF12384739GB",
"Label": "iVBORw0KGgoAAAANSUhEUgAA ... A4QAAAXcCAYAAAB6Q0CbAAAAAXNSR0IArs4"
}