Flype Order API
  1. Shipments
  • Flype Order API
    • Introduction
    • Shipments
      • Rates
        POST
      • Create Bulk Orders
        POST
      • All Shipments
        POST
      • Shipments Count
        GET
      • Shipment Details
        GET
      • Shipment Last Status
        GET
      • Cancel Shipment
        POST
      • Get Shipping Label
        GET
    • Webhook
      • Webhook: Shipment status updates (Flype → Your Server)
    • Locations
      • Upsert Pickup Location
      • Get Saved Pickup Locations
      • Fetch Pickup Location Details
    • Schemas
      • ApiStatus
      • ErrorResponse
      • ShipmentsCountResponse
      • AllShipmentsRequest
      • ShipmentSummary
      • AllShipmentsResponse
      • BulkOrderRequest
      • BulkOrderResponse
      • SchedulePickupRequest
      • SchedulePickupResponse
      • City
      • GetCitiesResponse
      • ShipmentDetailsResponse
      • ShipmentLastStatusResponse
      • CancelShipmentResponse
      • LabelResponse
      • Country
      • CountriesResponse
      • ShipmentStatusWebhook
      • PlaceBulkItem
      • SuccessMessageResponse
      • PlaceBulkAddress
      • BooleanDataResponse
      • PlaceBulkPickupLocation
      • ShipmentAddress
      • PlaceBulkShipment
      • ShipmentRecipient
      • PlaceBulkAcceptedOrder
      • ShipmentRetailerAddress
      • PlaceBulkDeniedOrder
      • ShipmentRetailer
      • BulkOrderResponseData
      • ShipmentDriver
      • ShipmentStatusHistoryEntry
      • DeliverySettings
      • DropOffDetails
      • AllShipmentsItem
      • CitiesResponse
      • AirwayBillResponse
      • WebhookShipmentStatusUpdate
      • WebhookAckResponse
      • PlaceBulkDeliveryAddress
      • PlaceBulkRequest
  1. Shipments

Get Shipping Label

GET
/order/{trackingNumber}/label

Get Shipping Label - Retrieve shipment label#

Use this endpoint to retrieve the shipping label for an existing shipment using its Flype trackingNumber.
If a label has already been generated, the existing label will be returned. If a label has not yet been generated and the shipment has the required pickup information, Flype may generate and return the label.

When to use this endpoint#

  • To retrieve a shipping label after shipment creation.
  • To re-download a label that was previously generated.
  • To print or store the label in the partner system.

Important notes#

  • A label may not be available if the shipment is missing required pickup or merchant information.
  • Use the label URL returned from Create Bulk Orders when available.

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 '/order/TKTN0M4DVCJ8/label' \
--header 'Authorization: Bearer <token>'

Responses

🟢200
application/json
Label URL response.
Bodyapplication/json

Examples
{
    "status": "success",
    "data": {
        "trackingNumber": "TKTN0M4DVCJ8",
        "labelURL": "https://storage.googleapis.com/flype-a8461.appspot.com/label/11F0049311C1EFD6A79F42010A800004/shippingLabel"
    }
}
🟠401
🔴500
Previous
Cancel Shipment
Next
Webhook: Shipment status updates (Flype → Your Server)
Built with