页面树结构

版本比较

标识

  • 该行被添加。
  • 该行被删除。
  • 格式已经改变。

Description


Get order shipping cost information by tracking number

Path

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
empty
beforecalculation.
Ref No. or Tracking No.

...


Request sample
Request

1
2
3

[
    "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

Response

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

{
  "status": "Success",
  "errors": null,
  "data": [
    {
      "status": "Success",
      "errors": null,
      "orderId": "Test002",
      "billingItem": {
        "estimateShippingFee": 0.12,
        "currency": "CNY",
        "actualShippingFee": 63.85,
        "chargeWeight": 0.89,
        "declaredWeight": 0.118,
        "trackingNumber": "Test002",
        "estimateCurrency": "CNY"
      }
    }
  ]
}