Items
Get Item Label
For a given item a label is generated or retrieved from the cache and send to the requestor as a bytestream response.
get/dpi/shipping/v1/items/{itemId}/label
Request
- Base URLhttps://api-sandbox.dhl.com
- Authnone declared. Required headers: Authorization, accept
Path parameters
itemIdstring required
The id of the item.
Headers
Authorizationstring required
Bearer Auth access_token together with the "Bearer" prefix is required. Example of the header value:"Bearer 0UuA....."
accept'application/pdf' | 'application/pdf+singlepage' | 'application/pdf+singlepage+6x4' | 'application/zpl' | 'application/zpl+6x4' | 'application/zpl+rotated' | 'application/zpl+rotated+6x4' | 'image/png' | 'image/png+6x4' required
Bytestream containing the media type of the generated label.
Response
Bytestream (File) containing the item label.
string byte required
Changes
No recorded changes to this operation across all 1 revision of this API.