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
|
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" } } ] }