页面树结构
转至元数据结尾
转至元数据起始

正在查看旧版本。 查看 当前版本.

与当前比较 查看页面历史

« 前一个 版本 3 当前 »

Description


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
The actual freight will have content after calculation, and the actual freight is
empty
before calculation.
Ref No. or Tracking No.

Request sample

Request
[
    "Test001","Test002"
] 

Response Elements

Return results 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
{
  "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"
      }
    }
  ]
}




  • 无标签