Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Info |
---|
Warning! The resource is available only in the following countries: PL, IT. |
Shipment label can be downloaded only for already bought shipments -
confirmed
or later status.Only users that are the shipments sender can download the label.
For single parcel shipments a single file is returned in the following format .pdf, .epl/.epl2, .zpl,
For multiple parcel shipments a single file is returned in the following format .pdf, .epl, .zpl containing labels for all the parcels
Attention! Choosing EPL format for courier parcels will result in an EPL file, for locker and allegro parcels the format will be EPL2.
On this page
Table of Contents |
---|
Shipment label download
Code Block |
---|
GET /v1/shipments/:shipment_id/label |
Parameters
Parameter | Type | Description | Validation | Default value | Availability |
---|---|---|---|---|---|
| String | Label format | Available formats: | PL, IT | |
| String | Label type | Available types: | PL, IT |
Info |
---|
If you do not specify the |
Example requests:
Code Block | ||
---|---|---|
| ||
curl "https://api-shipx-pl.easypack24.net/v1/shipments/4257799/label?format=zpl" -X GET -H "Authorization: Bearer token" |
Response
Code Block | ||
---|---|---|
| ||
File in .pdf/.epl/.epl2/.zpl/.zip format |
Warning |
---|
Error information Errors that may occur during label download:
|