Retrieve Shipping Labels
GET /shipping/labels{format}?shipment_ids[]={shipment_ids}
GET
/shipping/labels{format}?shipment_ids[]={shipment_ids}
Fetch shipping labels for the specified shipment IDs.
Parameters
Section titled “ Parameters ”Header Parameters
Section titled “Header Parameters ” Accept
required
string
The format to return the shipping label as.
Query Parameters
Section titled “Query Parameters ” shipment_ids
required
string
Comma-separated list of shipment IDs to retrieve labels for.
format
required
string
The extension of the format to return the shipping label as.
Responses
Section titled “ Responses ”A file containing the shipping label in the specified format, as well as a return label if one was purchased.
The label is available, but no format has been defined in the ‘format’ query parameter.
string format: binary
{"labels_count":1}
string format: binary
string format: binary
string format: binary
string format: binary
Shipment IDs not found, or no label was purchased for the given shipment.