简要描述:
- 店员端根据核销码获取订单列表
请求URL:
POST/wapstore/addons/execute/addons/store/controller/wapstore/action/getOrderListByCode
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
code | 是 | int | 核销码 |
返回示例:
正确时返回:
{
"code": 1,
"message": "获取成功",
"data": {
"order_list": [
{
"order_id": 171,
"order_no": "20181225154719249698",
"out_order_no": "154572403942301000",
"shop_id": 0,
"shop_name": "liaojiantao2224",
"order_money": "3.40",
"order_status": 3,
"status_name": "已提货",
"pay_type_name": "余额支付",
"is_evaluate": 0,
"verification_code": 14868903,
"verification_qrcode": "http://pic.vslai.com.cn/upload/26/0/verification_code/verification_code_14868903.png",
"member_operation": [
{
"no": "detail",
"name": "订单详情"
}
],
"promotion_status": false,
"order_item_list": [
{
"order_goods_id": 168,
"goods_id": 283,
"sku_id": 391,
"goods_name": "23423423434",
"price": "34.00",
"num": "1",
"pic_cover": "http://img.alicdn.com/imgextra/i4/2939883285/TB2ruiFFrSYBuNjSspiXXXNzpXa_!!2939883285.jpg",
"spec": [
{
"spec_value_name": "111",
"spec_name": "32"
},
{
"spec_value_name": "M",
"spec_name": "尺码"
}
],
"status_name": "",
"refund_status": 0
}
],
"order_refund_status": 0
}
]
}
}
参数名 | 类型 | 说明 |
---|---|---|
order_list | array | 订单列表 |
order_id | int | 订单id |
order_no | string | 订单序列号 |
out_order_no | string | 交易单号 |
shop_id | int | 店铺id |
shop_name | string | 店铺名称 |
order_status | int | 订单状态 1:待取货 3:已提货(申请退货退款) 4:已完成 5:已关闭 |
status_name | string | 订单状态说明 |
order_money | string | 订单金额 |
pay_type_name | string | 支付类型名称 |
is_evaluate | int | 是否评价 0:否 1:已评价 2:已追评(已经不能再评价了) |
promotion_status | bool | 优惠状态 true:享受了优惠(在售后的时候必须整单退货/退款,不能单个商品) false:没有,售后针对单个商品 |
member_operation | array | 订单操作 |
no | string | 操作no |
name | string | 操作名称 |
order_item_list | array | 订单商品列表 |
order_goods_id | int | 订单商品id |
sku_id | int | 商品sku_id |
goods_name | string | 商品名称 |
price | string | 商品原价 |
num | string | 购买数目 |
pic_cover | string | 商品图片 |
spec | array | 商品规格 |
spec_value_name | string | 规格值 |
spec_name | string | 规格属性 |
refund_status | int | 售后属性 1:买家申请退款 2:等待买家退货 3:等待卖家确认收货 4:等待卖家确认退款 5:退款已成功 -1:退款已拒绝 0:退款已关闭(其余状态的显示售后情况) -3:退款申请不通过 |
status_name | string | 售后属性名称 |
order_refund_status | int | 值的意义和refund_status一样,只是将里面的数据提取出来,仅作用于promotion_status = true 时,显示订单需要对应的售后操作 |