Bulk Orders

Get Bag Tag Label

For a given bag get the label of the bag tag, sentt as a bytestream response.

get/dpi/shipping/v1/bulk/label

Request

  • Base URL
    https://api-sandbox.dhl.com
  • Auth
    none declared. Required headers: Authorization, accept

Query parameters

bagIdsstring[] required

The ids of the bag seperated by commas e.g. bagIds=GM40040404040410000000000035,GM40040404040410000000000036

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 bag tag label.

Changes

No recorded changes to this operation across all 1 revision of this API.