Generate Package Labels

View as Markdown

Generate the labels for all items associated with this delivery job. This endpoint returns links that point to PDFs of the labels.

Generation only takes place on the first time this endpoint is used for an order, all subsequent requests will retrieve the previously generated labels.

This endpoint only supports Non-dedicated and Rapid Delivery orders.

Authentication

AuthorizationBearer

Path parameters

orderIdstringRequired
The UUID of the order to generate labels for.

Request

This endpoint expects an object.
packagesintegerRequired>=1
The number of labels to generate.

Response

OK
order_idstring
packagesinteger
labelslist of objects

Errors

404
Not Found Error
422
Unprocessable Entity Error