Appearance
获取订单信息接口
接口说明:
Method | URL | ContentType |
---|---|---|
GET | api/restful/order/{order_id}/get | application/json |
URL 参数说明:
参数 | 类型说明 | 是否必须 | 长度 | 描述 |
---|---|---|---|---|
order_id | string | 必须 | 50 | 订单号 |
返回结果:
参数 | 类型说明 | 描述 |
---|---|---|
order_id | string | 订单编号 |
full_address | string | 收货详细地址 |
receiver | string | 收货人 |
tel | string | 收货人电话 |
mobile | string | 收货人手机号 |
order_price | double | 订单金额 |
c_orders | json | 订单信息 |
return_orders | list | 退换货信息 |
c_orders 字段中每个参数释义:
参数 | 类型说明 | 描述 |
---|---|---|
order_state | int | 订单状态(0 新建; - 1 拒收; - 2 已取消;1 妥投完成;5 已出库)) |
skus | json | [{"sku" : "商品货号","price" : 商品价格,"num" : 商品数量,"returnCount":退货数量,"returnAmount":退货金额 }] |
return_orders 字段中每个参数释义:
参数 | 类型说明 | 描述 |
---|---|---|
apply_code | string | 退货申请单编码 |
refund_code | string | 退货单编码 |
apply_status | string | 退货状态0=待审核1=审核通过2=客户取消3=对接方客服取消4=审核不通过 |
apply_type | string | 退货类型4=退货5=换货 |
apply_time | string | 退货时间 |
order_id | string | 订单编号 |
refund_status | string | 审核流程状态 30301 =退货中30305 =客户已发货30310 =对接方已收货30315=对接方已重新发货30320 =客户已收货30325=客户结束流程30330=客服结束流程 |
apply_reason | string | 申请原因 |
apply_name | string | 申请人姓名 |
apply_mobile | string | 申请人手机号 |
apply_telephone | string | 申请人电话 |
pickup_way | string | 取货方式:上门取件、第三方物流(上门=1,第三方=2)默认上门取件 |
province_code | string | 省 |
city_code | string | 市 |
county_code | string | 区 |
address | string | 地址 |
skus | json | [{"sku" : "商品货号","price" : 商品价格,"num" : 商品数量 }] |
logistics_company_name | string | 换货物流公司 |
logistics_number | string | 换货物流单号 |
返回数据示例:
json
{
"success": true,
"errormsg ": "",
"requestId ": "9245fe4a-d402-451c-b9ed-9c1a04247482",
"errorcode": 0,
"result": {
"order_id": "Mo000001",
"full_address": "收货详细地址",
"receiver": "收货人",
"tel": "收货人电话 ",
"mobile": "收货人手机号",
"c_orders": [{
"order_state": 0,
"skus": [{
"sku": "101091",
"price": 1.35,
"num": 100,
"returnCount": 1,
"returnAmount": 1.35
},
{
"sku": "102018",
"price": 5.63,
"num": 100,
"returnCount": 1,
"returnAmount": 1.35
}
]
}],
"return_orders": [{
"apply_code": "RO__20210615090903382",
"refund_code": "RO__20210615090903382",
"apply_type": "4",
"apply_status": "0",
"refund_status": "0",
"apply_time": "06/15/2021 09:09:02",
"apply_reason": "售后测试123445321",
"apply_name": "张三",
"apply_mobile": "17628282828",
"apply_telephone": "17628282828",
"pickup_way": "1",
"province_code": "6",
"city_code": "303",
"county_code": "36783",
"address": "西矿街147号比亚迪店"
"skus": [{
"sku": "1032817",
"num": 2,
"price": 30.48
},
{
"sku": "1050256",
"num": 2,
"price": 6552.0
}
],
"logistics_company_name": "顺丰快递",
"logistics_number": "sf45648979"
}]
}
}