...
Get order shipping cost information by tracking number |
Path
HTTP Verb | URL |
---|
Post | /services/shipper/cost-query |
Request content
The request body contains an order sequence, and up to 2000 orders can be sent at once. Note:Theactualfreightwillhavecontentaftercalculation,andtheactualfreightis emptybeforecalculation. Ref No. or Tracking No.
|
Request sample
...
1
2
3
...
代码块 |
---|
language | js |
---|
borderStyle | solid |
---|
firstline | 1 |
---|
title | Request |
---|
linenumbers | true |
---|
|
[
"Test001","Test002" |
...
ResponseElements
Returnresults in the order of shipment information in request, including:
1)status(Failed / Success / Partial Success).
2)error
2.1)code
2.2)message
3)data
3.1)orderId
3.2)status
3.3)errors
3.3.1)code
3.3.2)message.
3.4)billingItem
3.4.1)estimateShippingFee
3.4.2)currency
3.4.3)actualShippingFee
3.4.4)chargeWeight,kg
3.4.5)declaredWeight,kg
3.4.6)trackingNumber
Response message
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
{
"estimateShippingFee": 0.12, |
...
...
"actualShippingFee": 63.85, |
...
...
...
"trackingNumber": "Test002", |
...
"estimateCurrency": "CNY" |
...