Description
...
该This interface is for get lastmile manifest file though Manifest NO.
Path
he interface performs forecast operations on orders and provides custom Manifestno |
请求内容
1 | Field (API) | Data Type | Length | Mandatory | Details | |
2 | manifestNo | String | 40 | O | Optional. If null, system will automatically generate. No more than 40 characters. | |
3 | shipmentIds | String | String | C | Optional, support Tracking Number and Ref No. | |
4 | masterIds | String | String | C | Optional, support Master Ref No. |
Path
HTTP Verb | URL |
---|---|
Post | /services/shipper/closeShipments |
Request content
...
An object in JSON format.
“manifestNo”:It is not required. If it is not filled in, it will be generated automatically and cannot exceed 40 characters;
“shipmentIds”:Required, tracking number and ref no are supported;
Request sample
Request
...
1
2
3
4
...
{
"manifestNo"
:
"test001"
,
"shipmentIds"
: [
"test001"
,
"test002"
]
}
Response message
Response
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{
A JSON formatted object. ManifestNo:Optional, automatically generated by the system if do not fill in, max:40 characters; "ShipmentIds" : mandatory, accept Tracking Number and Ref No;. |
Request sample
代码块 | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
{
"manifestNo": "20210918",
"shipmentIds": [],
"masterIds": [],
} |
Response message
代码块 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
{ "status":"Success", |
...
"errors":null, |
...
"data":[ |
...
{ "status":"Success", |
...
"errors":null, |
...
"warnings":null, |
...
"orderId":"test001", |
...
"trackingNo":"test001 |
...
", "relabelstatus" : null, "lastMailcarrier" : nu11 ], "warnings":null |
...
} |