1. Shipments
Flype Order API Gulf
  • UAE API Integration Guide
    • Shipments
      • Shipments Count
        GET
      • All Shipments
        POST
      • Bulk Order
        POST
      • Schedule Pickup
        POST
      • Shipment Details
        GET
      • Shipment Last Status
        GET
      • Cancel Shipment
        GET
      • Get AirwayBill
        GET
    • Locations
      • Get Cities
      • Get All Countries
    • Webhook
      • Shipment Status Updates Webhook
    • Schemas
      • Error
      • ServiceType
      • TrackingStatusName
      • PickupLocation
      • RecipientAddress
  1. Shipments

Get AirwayBill

GET
/api/order/{trackingNumber}/label

Get AirwayBill - Get shipping label#

Use this endpoint to retrieve the shipping label, also known as the AirwayBill, for a shipment using its trackingNumber.
If a label already exists for the shipment, the existing label will be returned. If no label exists yet, the system will generate the label and return it in the response.

Required URL parameter#

  • trackingNumber - Public tracking number of the shipment.

Important notes#

  • The shipment must have valid pickup/store information before a label can be generated.
  • If pickup information is missing, the label may not be generated until pickup is scheduled.
  • If the label already exists, the API returns the existing label instead of creating a new one.

When to use this endpoint#

  • To retrieve the shipping label for a shipment.
  • To generate the label if it has not been created yet.
  • To get the AirwayBill link or file for printing and shipment processing.

Summary#

Use Get AirwayBill when you need to retrieve or generate the shipping label for a specific shipment.

Request

Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Path Params

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/api/order//label' \
--header 'Authorization: Bearer <token>'

Responses

🟢200
application/json
Successful response
Body

Example
{
    "status": "success",
    "data": {
        "trackingNumber": "ABC123DEF456",
        "label": "https://storage.googleapis.com/bucket/label/abc123/shippingLabel"
    }
}
🟠401
🟠404
🔴500
Previous
Cancel Shipment
Next
Get Cities
Built with