Appearance
Get Tracking No
Request Method
http
POST /api/create-barcodeHeader
| Field | Description |
|---|---|
| Content-Type | application/json |
| Authorization | Bearer <token> |
Parameter
| Field | Mandatory | Type | Description | Length |
|---|---|---|---|---|
| Barcode | Y | String | Custom Tracking Num | Max 50 Char |
| LabelType | Y | String | This field identify the label type, currently only CN23 is available. | Max 10 Char |
| Origin | Y | String | This field refers to the originating country. Eg. SG for Singapore, TW for Taiwan | Max 2 Char |
| Destination | Y | String | This field refers to the destinating country. Eg. TW for Taiwan, JP for Japan | Max 2 Char |
Request
json
{
"Barcode": "xxxxxxx",
"LabelType": "CN23",
"Origin": "SG",
"Destination": "XX"
}Response(Success)
json
{
"Code": 0,
"Message": "Success",
"Data": {
"Barcode": "CY180000662SG"
}
}Response(Fail)
json
{
"Code": 1,
"Message": "Parcel not found",
"Data": []
}