🏷️ Get the shipping documents (labels)

Receive the shipping documentation in a base64 string.

This endpoint allows you to track your shipments. If you successfully requested to compare our shipping options, it will look something like this:

Method

In order to create a draft shipment, you need to use the following method:

GET

Endpoint

You need the following endpoint:

https://services.parcelparcel.com/partners-api/v1/shipmentId/{shipment}/labels

Header

You need to add the following headers:

NameValue
Content-Typeapplication/json
X-PP-API{YourAPIKey}@{YourAPISecret}

Don't you have an API Key and API Secret yet? Check our Authentication page and how to get them in under a minute.

Body

There is no body needed; you just put the shipmentId in the URL and you're done. You can retrieve this shipmentId after you've created a shipment through our shipping endpoint.

For example:

https://services.parcelparcel.com/partners-api/v1/shipmentId/{shipment}/labels

Response

The following response elements are returned:

NameValueComments
labelsbase64The complete shipping documentation of your shipment in base64.

Example Response

{
  "data": {
    "labels":  "=== base64 encoded label ==="
           }
}