API documentation
Method list
Test your request

The method allows you to download a shipping label (consignment) for a selected shipment.

Input parameters
courier_codevarchar(20)Courier code
package_idintShipment ID, optional if package_number was provided
package_numbervarchar(40)Shipping number (consignment number), optional if package_id was provided

Output data
The method returns the data in JSON format.
statusvarchar(30)SUCCESS - request executed correctly
ERROR - an error occurred during an API request. Error details will be described in 2 additional returned fields: error_message and error_code
extensionvarchar(4)Label file extension (pdf, html, gif, png, epl, zpl, dpl).
labeltextLabel encoded with base64 algorithm.

Input data:
Output data:
A sample request in PHP: