Retrack an ocean cargo tracking
# Endpoint
POST https://api.track123.com/gateway/open-api/tk/v1/ocean/track/refresh
# Interface description
Each tracking number can be refreshed only once within 6 hours, and repeated calls are invalid. This method will return whether the operation is valid and the actual refresh time.
# Request parameter
Name | Description | Required | Data type |
---|---|---|---|
orderNo | The unique order number generated by Track123 when a tracking number is registered | true | String |
trackingNo | Tracking number | true | string |
type | Tracking number type (1. booking number 2. bill of landing number 3. container number) | true | integer |
# Request example
{
"trackingNo": "MATS5217756000",
"orderNo": "11111111",
"type": 2
}
# Response parameter
Name | Description | Type |
---|---|---|
code | Service status code | string |
msg | The description information corresponding to the service status code or other auxiliary description information. | string |
data | Object actually returned | array[object] |
actualRefreshTime | Actual refresh time | string |
success | Successful execution | boolean |
# Response example
{
"code": "00000",
"data": {
"success": true,
"actualRefreshTime": "2022-12-13 20:13:35"
},
"msg": "成功",
"traceId": "6058fd26a116449899a3b98c6a52547a.147.16709336156610647"
}