v1
latestOpenAPI 3.0.12026-07-242073551.1 MBShipments
Print My Label QR Code
Enhance the shipping and delivery process by generating an easy-to-scan QR code for the associated label specified in the PrintLabel API endpoint. <br /> <br />For example, you can take the QR code to your nearest post office and scan it to generate the label image instead of the label itself without the need for having a printer. <br /> <br />Note: This endpoint can only be used for Royal Mail Tracked Return services.
get/v4/shipments/printMyLabelQRCode/rm/{shipmentId}
Path parameters
shipmentIdstring required
A unique identifier (shipmentId) or tracking number returned in the Create shipment response. This ID is used to reference and track a specific shipment for which the QR is being generated.
Response
Returns the printed QR Code as a Base 64 encoded PNG.
Example response
{
"ShipmentId": "c4e60776-288f-464e-b35b-ff0f3252c0f0",
"QRCode": "iVBORw0KGgoAAAANSUhEUgAA ... A4QAAAXcCAYAAAB6Q0CbAAAAAXNSR0IArs4"
}