Returns the AWB label for one order, or for several in one PDF. Save it, print it and attach it to the parcel: couriers and warehouse staff scan its barcode at every step. You can download it before or after the order is ready for collection.
Send one id, /order_label/10000001, or several separated by commas, /order_label/10000001,10000002. A batch returns a single PDF with every order's labels, one page per parcel.
The response is always a PDF, never JSON, so write it to a file rather than parsing it.
- Productionhttps://api-ae.quiqup.com/order_label/{order_ids}
- Staginghttps://api.staging.quiqup.com/order_label/{order_ids}
curl -i -X GET \
'https://api-ae.quiqup.com/order_label/10000001,10000002' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'The labels, as one PDF. Content-Disposition names the file <order_id>.pdf for a single order and s<YYYY-MM-DD>.pdf for a batch.
An id that does not match one of your orders can still answer 200 with Content-Type: application/pdf and an empty body. Check the content length before writing the response to a file.
string