/v1/order/quotation先获取报价
express 为字符串时查询单个渠道,数组查询多个渠道;设为 null 时查询账户已分配渠道。
{
"order_id": "DEMO-10001",
"express": null,
"parcel": {
"length": 20, "width": 15,
"height": 10, "weight": 0.5
},
"ship_to": {
"firstname": "Demo",
"country": "US", "state": "CA",
"city": "Los Angeles", "zip": "90001",
"address1": "123 Example Street"
}
}
查看简化报价响应
[
{
"express": "service_a",
"price": 3.71,
"price_currency": "USD",
"weight": 0.5,
"weight_unit": "kg",
"surcharge": { "total": 0 }
},
{
"express": "service_b",
"price": 3.99,
"price_currency": "USD",
"weight": 0.5,
"weight_unit": "kg",
"surcharge": { "total": 0 }
}
]多渠道响应中,不可用项可能返回 price: null 和 reason。只在有效、同币种的报价中比较价格。


