简要描述:
请求域名:
- http://xx.com
请求URL:
route=plugin.coupon-store.frontend.store-manage.orderList
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
cstore_id | 是 | int | 商户ID |
coupon_member_kwd | 否 | string | 订单姓名/手机号 |
order_sn | 否 | string | 订单号 |
status | 否 | int | 2待核销 -1退款 |
返回示例:
正确时返回:
{
"result": 1,
"msg": "成功",
"data": {
"current_page": 1,
"data": [
{
"id": 22311,
"order_sn": "SN2206241115B24BE2",
"order_goods": {
"title": "消费券商品20220623",
"thumb": "https://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/newimage/5d5feaadb110164c2aa168ec76c677a1.jpg",
"price": "99.00"
},
"sum_count": 6,
"use_count": 0,
"rest_count": 6,
"member": {
"name": "",
"mobile": ""
},
"offline_price": "0.00",
"status_name": "待核销"
}
],
"first_page_url": "http://zouye.yunzmall.com/addons/yun_shop/api.php?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "http://zouye.yunzmall.com/addons/yun_shop/api.php?page=1",
"next_page_url": null,
"path": "http://zouye.yunzmall.com/addons/yun_shop/api.php",
"per_page": 15,
"prev_page_url": null,
"to": 1,
"total": 1
}
}
错误时返回:
{
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
名称 | 类型 | 说明 |
order_sn | string | 订单号 |
order_goods | object | 商品信息 |
member | object | 下单会员信息 |
offline_price | float | 到店价 |
sum_count | int | 总核销次数 |
rest_count | int | 剩余核销次数 |
use_count | int | 已核销次数 |
status_name | string | 订单状态名 |