v1
latestOpenAPI 3.0.12026-08-0688138402.2 KBRetrieve labels of a shipment
Returns labels for a specific shipment. Labels are delivered as Base64-encoded data.
For PNG format, each label has its own object. For all others, the labels are collected in one object.
Note: Use the scaling feature at your own risk. Shipmondo can’t guarantee the scaled labels are usable. Always get the label approved by the carrier before using this feature in production.
Path parameters
ID for the shipment to be included in the filter
Query parameters
Which format the labels should be.
10x19 is 10 cm x 19 cm
compact format returns the smallest label possible.
Scale down the labels by either width or height. Only applicable when label_format: a4_pdf, 10x19_pdf, 10x19_zpl, compact_pdf, compact_zpl
Desired scaled length in cm of dimension in "scale_by".If the length is higher or wider than the original labels, the labels will not be scaled.
Only applicable when label_format: a4_pdf, 10x19_pdf, 10x19_zpl, compact_pdf, compact_zpl.
Response
Successful.
Example response
[
{
"base64": "JVBERi0xLjMKJf//////AAAAAA...",
"file_format": "pdf"
}
]