v1

latestOpenAPI 3.0.12026-08-0688138402.2 KB
Shipments

Fetch QR codes for a shipment

Fetches a QR code for a given shipment request. It is only possible to fetch QR codes for shipments booked with the QR code service.

get/shipments/{id}/qr_code

Path parameters

idinteger required

ID for the shipment to fetch QR codes for

Query parameters

file_format'png' | 'pdf'

The file format the QR Code will be returned as.

Response

Successful.

qr_codesstring[]

An array containing base64 encoded qr_codes

file_formatstring

The file format for response

Example response

{
  "qr_codes": [
    "JVBERi0xLjUKJc/s/+jXy80KMSAwIG9iago8PC9UeXBlL0NhdGFsb2cvUGFnZXMgMiAwIFI(...)PgpzdGFydHhyZWYKMzI0MgolJUVPRgo="
  ],
  "file_format": "png"
}