3. Print Barcode (Generate PDF Label)
This API generates a printable PDF label containing the barcode, order number, customer information, and delivery address.
Endpoint: POST /api/v1/print_barcode
Headers
Authorizations: Bearer SECRET_KEY
Content-Type: application/json OR multipart/form-data
Request Body (JSON)
{
"barcode": "BARCODE_NO",
"keyclient_id": "your_client_id"
}
Request Body (Form-Data)
barcode = BARCODE_NO
keyclient_id = your_client_id
cURL Example (JSON)
curl --location 'https://deliverers.ge/api/v1/print_barcode' \
--header 'Content-Type: application/json' \
--header 'Authorizations: Bearer YOUR_SECRET_KEY' \
--data '{
"barcode": "BARCODE_NO",
"keyclient_id": "your_client_id"
}'
cURL Example (Form Data)
curl --location 'https://deliverers.ge/api/v1/print_barcode' \
--header 'Authorizations: Bearer YOUR_SECRET_KEY' \
--form 'barcode="BARCODE_NO"' \
--form 'keyclient_id="your_client_id"'
Success Response
The API returns a PDF file directly.
Content-Type: application/pdf
Content-Disposition: inline; filename="label_10006.pdf"
Error Responses
{
"status": 401,
"message": "Authentication failed: Missing Authorizations header."
}
{
"status": 401,
"message": "Authentication failed: Invalid client credentials."
}
{
"success": 0,
"message": "Barcode not found"
}