Skip to main content

Label Printing

This service allows you to print a label.

Do not forget to authenticate your request,

Request

Request URL :

https://srv.eliexpress.com.tr/api/v2/client-integration/print/:ID

Request URL Parameter :

ID : Tracking number that you got from booking a shipment,

Request Method :

GET

Content-Type :

application/json

Response

Response Body :

I your request to print was successful, the server will respond with a success true, and a Base64 encoded string of a the label PDF alongside the third-party tracking number.

{
"success": true,
"message": "Shipment label successfully printed",
"labelType": "PDF",
"trackingNumber": "ELI123456789101O",
"lastMileTrackingNumber": "QWE1234567890ABC"
"label": "JVBERi0xLjQKJeLjz9MKMiAwIG9iago8PC9MZW5ndGggNTIvRmlsdGVyL0ZsYXRlRGVjb2RlPj5zdHJlYW0KeJwr5HIK4TI2UzA1NtCzNFYISeFyDeEK5CpUMFQwAEIImZyroB+RZqjgkq8Q=",
"labelType": "PDF"
}

If you failed to authenticate the server will respond with a request unauthorized message.

{
"success": false,
"message": "Request Unauthorized"
}

If you prodivded a wrong ID in the parameters, the server will respond with and error, and a Parcel not found message.

{
"success": false,
"message": "Parcel not found"
}

Depending on your account type, if your label was not ready to be printed, you will get a success false, and a Shipment label not ready message.

{
"success": false,
"message": "Shipment label is not ready"
}