Get Shipment Label Detail

This API describes how to get a shipment label detail.


Method: POST

Request Body

json
{
  "reference_no": "123abc"
}

Request Body Explanation

Attribute NameTypeDescription
reference_noStringReference Number

Response Body

json
{
  "code": 200,
  "data": [
    {
      "reference_no": "123abc",
      "packages": [
        {
          "name": "Package 1",
          "shipping_method": "STAND",
          "tracking_number": "1ZGG47310324343941",
          "label_pdf": "https://url-to-label.com/package1.pdf",
          "tracking_url": "https://url-to-tracking"
        }
      ]
    }
  ]
}

Response Body Explanation

Attribute NameTypeDescription
codeIntegerResponse code: 200 successful, 400/500 failed
reference_noStringReference Number
packagesListpackage shipping information
nameStringpackage name
shipping_methodStringMethod of shipping
tracking_numberStringShipping tracking number
label_pdfStringDownload link of shipping label's PDF file
tracking_urlStringLink of tracking trace