TABLE OF CONTENTS

1. Get label request (GET Method)

Info
  • Webservice URL: BASE_URL/api/Label/by-courier/{courierId}/awb/{awb}

1. 1 Query parameters:


Name
Type
Required
Description
CourierId
intYesSee Couriers table
Awb
stringYes
AWB number from Courier
ExternalLocationId
stringYesExternalLocationId of order
Type
stringYes
Type of label : PDF,HTML, ZPL (not available for all carriers)
Format
stringYes
Size of label : A6, A4, A6_10x9 (not available for all carriers)
UseFile
booleanYes
If yes application will return pdf file, otherwise application will return base64
skipCache
boolean
If yes, cached file will be skipped
includeVoucher
boolean
If yes, voucher will be printed if requested in Order


2. Get label request for individual parcel (GET Method)

Info
  • Webservice URL:BASE_URL/api/Label/by-courier/{courierId}/awb/{awb}/parcel/{parcelbarcode} 

2. 1 Query parameters:


Name
Type
Required
Description
CourierId
intYesSee Couriers table
UseClientBarcode
booleanYesDefaults to NO
Awb
stringYesAWB number from Courier
ParcelBarcode
stringYesParcel barcode from Courier or Client based on flag UseClientBarcode
ExternalLocationId
stringYesExternalLocationId of order
Type
stringYes
Type of label : PDF,HTML, ZPL (not available for all carriers)
Format
stringYes
Size of label : A6, A4
UseFile
booleanYes
If yes application will return pdf file, otherwise application will return base64
skipCache
boolean
If yes, cached file will be skipped
includeVoucher
boolean
If yes, voucher will be printed if requested in Order


3. Label methods response

In case the response is a PDF document, the result content type is application/pdf.

Content-type: application/pdf