Shipments
Print Label.
This changes the status of the shipment to label printed.
get/v4/shipments/printLabel/spring/{shipmentId}
Request
- Base URLhttps://api.intersoftsapient.net
- URLhttps://api.intersoftsapient.net/v4/shipments/printLabel/spring/{shipmentId}
- AuthOAuth 2Client credentialsToken URL: https://authentication.intersoftsapient.net/connect/token
Path parameters
shipmentIdstring required
Shipment ID. <br />The Shipment ID may be an id or a tracking/barcode number.
Query parameters
labelFormat'PDF' | 'PNG' | 'ZPL203DPI' | 'ZPL300DPI'
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 />Defaults to PDF if not populated.
Label format. <br />Defaults to PDF.
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"
}Changes
No recorded changes to this operation across all 1 revision of this API.