Print Labels

Warehouses often print labels to paste them into every package before dispatching. You can use this endpoint to generate a PDF file with the labels from one or more deliveries.

Endpoint

POST {{SHIPPIFY_API_URL}}/v2/integrations/deliveries/labels

Request

PropertyTypeDescriptionRequiredConstraints

deliveryIds

Array of String

IDs of the task created within the system.

YES

referenceIds

Array of String

Reference IDs of the task created within the system.

NO

Response

The response of this endpoint contains a Content-type of application/pdf.

Example

curl --location 'https://api.shippify.co/v2/integrations/deliveries/labels' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX' \
--data '{
    "deliveryIds":[
        "t-pruaas-4973"
    ]
}'