How to Get Label

Modified on Sat, 1 Feb at 10:03 PM

Our API allows you to retrieve label information based on the provided order ID.


Instructions


Step 1: API Endpoint



Step 2: Authorization

  • A valid Bearer Token must be included in the request headers for authentication



Step 3: Request Body Parameters

  • The request body should include:


Field NameRequiredTypeDescription
orderIdYesStringThe unique order ID for the label.



Step 4: Example Request



Step 5: Example Response


{

    "cityShort": "AHB",

    "orderId": "169823636792557641",

    "dsCode": "KHA",

    "areaName": "Al Shifa",

    "shipmentId": "6102623206686",

    "success": true,

    "zoneCode": "E19"

}


Error Codes:

CodeDescription
4"orderId is required"
7"Order Not Exists"
8"No DS Code information provided by DC."
99"a system error occured"

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article