Skip to content
On this page

Download the Shipment Label

To download a shipment label, you must use the GET method on the /v1/shipments/{identification}/label route.

Endpoint: /v1/shipments/{identitication}/label

http
GET /v1/shipments/{identitication}/label HTTP/1.1
Host: sandbox.tristarexpress.com
Accept: application/binary

This method supports receive in binary and encoded in base64.

The identification parameter can be the shipment ID or the tracking code.

  • Shipment Id : always returns in the shipment_id field
  • Shipment Tracking: always returns in the tracking_code field

Example request

Response in binary:

http
GET /v1/shipments/1/label HTTP/1.1
Host: sandbox.tristarexpress.com
Accept: application/binary

Response encoded in base64:

http
GET /v1/shipments/1/label HTTP/1.1
Host: sandbox.tristarexpress.com
Accept: application/binary
Accept-Encoding: base64