Parcel Label
This service lets you download a parcel's label (A6, PDF) by its waybill number. The label shows the receiver's name, the waybill barcode and the destination branch — or, for a courier parcel, the delivery city, district and address.
GET
/integrators/parcels/label/{waybillNumber}
| Field | Type | In | Required | Example | Description |
|---|---|---|---|---|---|
| waybillNumber | string | PATH | Yes | YT72358DF03423452 | Parcel tracking number. |
Response Structure 200 OK
On success the response is a PDF file (Content-Type: application/pdf), not JSON. Errors are returned as JSON.
Possible Responses
| Code | Description |
|---|---|
| 200 OK | The label as a PDF file (A6). |
| 404 Not Found | Parcel with the specified waybill number was not found. |
| 403 Forbidden | You do not have permission to perform this operation |
cURL Request
BASH
curl -X GET https://api-staging.inex.ge/api/v1/integrators/parcels/label/YT72358DF03423452 \
-H "Authorization: Bearer {TOKEN}" \
-o YT72358DF03423452_label.pdf
Response (200 OK)
Headers
BASH
Content-Type: application/pdf
Content-Disposition: inline; filename=YT72358DF03423452_label.pdf
Error Response (403)
JSON Response
JSON
{
"errors": {
"general": [
"You are not authorized to perform this action. Contact administrator."
]
},
"message": "error"
}
Error Response (404)
JSON Response
JSON
{
"errors": {
"general": [
"Requested parcel not found"
]
},
"message": "error"
}