出库管理
获取出库单物流跟踪号
获取运单追踪号。
生产环境
https://ssl.glitzcloud.com/agent/v1/orders/order/tracknum测试环境
http://gztest.glitzcloud.com/agent/v1/orders/order/tracknum说明
1、功能名称:获取出库单物流跟踪号
2、功能描述:获取出库单物流跟踪号
请参阅鉴权签名说明。
请求参数
| 名称 | 类型 | 必填 | 示例值 | 描述 |
|---|---|---|---|---|
| store_name | String | 是 | The Warehouse USA | 仓库名称 |
| order_sn | String | 是 | G201608150001 | 平台店铺订单编号 |
返回字段
| 参数 | 类型 | 示例值 | 描述 |
|---|---|---|---|
| type | Integer | 1 | 包裹类型 1:单包裹;2:多包裹 |
| outflow_sn | String | Amy Yao-20170101011 | 出库单号 |
| track_num | String | 1Z1W59X40395497903 | 物流跟踪号 |
| outflow_time | String | 2017-05-16 10:23:39 | 出库时间 |
| product_sn | String | SKY705 | 产品编号SKU |
| count | Integer | 1 | 包裹里产品数量 |
| pkg_num | Integer | 2 | 包裹数量 |
| carrier | String | UPS | 快递公司 |
| delivery | String | UPS Ground | 派送方式 |
| package | String | Your Packaging | 包裹类型 |
| weight | Float | 1.234 | 重量(kg) |
示例
请求示例
{
"format": "json",
"apikey": "85082f5f62a811e684f500163e06045f",
"randoms": 1234,
"sign": "656d6fbe6b7dec6c2e77ffe27f04bd6d",
"store_name": "The Warehouse USA",
"order_sn": "G201608150001"
}返回示例
{
"status": 200,
"reqMsg": "ok",
"result": {
"type": 1,
"content": {
"outflow_sn": "Amy Yao-Ronnie777",
"track_num": "1Z1W59X40395497903",
"outflow_time": "2017-06-09 13:56:52",
"carrier": "UPS",
"delivery": "UPS Ground",
"package": "Your Packaging"
}
}
}示例 3
{"status":200,"reqMsg":"ok","result":{"type":2,"content":{"order":[{"outflow_sn":"Amy Yao-523452345fefed1-01","track_num":"111","outflow_time":"2017-05-16 10:23:39","weight":"1.234","carrier":"UPS","delivery":"UPS Ground","package":"Your Packaging","products":[{"product_sn":"SKY705","count":"1"},{"product_sn":"SKY706","count":"1"}]},{"outflow_sn":"Amy Yao-523452345fefed1-02","track_num":"111","outflow_time":"2017-05-16 10:23:39",,"carrier":"UPS","delivery":"UPS Ground","package":"Your Packaging","products":[{"product_sn":"SKY705","count":"1"},{"product_sn":"SKY706","count":"1"}]}],"pkg_num":2}}}示例 4
{
"status": 3502,
"reqMsg": "The order has not been shipped",
"result": []
}