页面树结构

版本比较

标识

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

...

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

Request sample

...

1
2
3

...

代码块
languagejs
borderStylesolid
firstline1
titleRequest
linenumberstrue
[
    "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

...


代码块

...

language

...

java

...

firstline

...

1

...

title

...

Response

...

linenumbers

...

true
{
  "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"

...


      }
    }
  ]
}