简要描述:

请求域名:

  • http://xx.com

请求URL:

GET/plugin.store-cashier.admin.store-manage.get-list

参数:

参数名 是否必须 类型 说明
page int 页数
store_id string 门店id
store_name string 门店名称
province_id int 省ID
city_id int 市ID
district_id int 区ID
street_id int 街道ID
clerk_id int 核销员会员ID
clerk_info string 核销员昵称/姓名/手机号
member_id int 购买者会员id
member_info string 购买者昵称/姓名/手机号
address_name int 收货人
address_mobile string 收货手机号
express string 快递号
goods_id string 商品id
goods_title string 商品标题
pay_type string 支付类型
time_field string 操作时间类型
start_time string 起始时间
end_time string 终止时间
status int 订单状态,待支付wait_pay,待发货wait_send,待配送delivery,待核销verify,待收货wait_receive,已完成completed,退换货return,已退款refunded,已关闭cancelled

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "",
    "data": {
        "count": {
            "price": "48500.29",
            "total": 442
        },
        "list": [
            {
                "order_id": 7217,
                "order_sn": "SN20200830230107HD",
                "pay_sn": "PN20200830230107EX",
                "create_time": "2020-08-30 23:01:07",
                "store_name": "译家仁",
                "goods": [
                    {
                        "goods_id": 5429,
                        "goods_thumb": "https://gongyinglian-1251768088.cos.ap-guangzhou.myqcloud.com/images/5/2020/08/w76f554f78AbkkbEC6Q74u4c6n8Q64.jpg",
                        "goods_title": "突尼斯软籽石榴 一级果5斤 4-7个",
                        "goods_option_title": "",
                        "goods_price": "59.90",
                        "price": "59.90",
                        "total": 1
                    }
                ],
                "member_id": 180878,
                "nickname": "周文",
                "realname": "周文",
                "mobile": "13858463062",
                "pay_type": "微信支付(服务商)",
                "express_type": "快递",
                "status_name": "待发货",
                "goods_total": "59.90",
                "shipping": "0.00",
                "price": "59.90",
                "remark": null,
                "status": 1,
                "change_price": "0.00",
                "change_dispatch_price": "0.00",
                "clerk" : "核销员:韦平"
            },
            {
                "order_id": 7216,
                "order_sn": "SN20200830224439lS",
                "pay_sn": "PN20200830224440AP",
                "create_time": "2020-08-30 22:44:39",
                "store_name": "译家仁",
                "goods": [
                    {
                        "goods_id": 5272,
                        "goods_thumb": "https://gongyinglian-1251768088.cos.ap-guangzhou.myqcloud.com/images/4/2020/08/L2Z12ZLTRcC2i1hIcORpzdE7iIxlTC.jpg",
                        "goods_title": "雪莲果带箱10斤 每斤3根左右 8.8斤",
                        "goods_option_title": "",
                        "goods_price": "49.90",
                        "price": "49.90",
                        "total": 1
                    }
                ],
                "member_id": 180878,
                "nickname": "周文",
                "realname": "周文",
                "mobile": "13858463062",
                "pay_type": "微信支付(服务商)",
                "express_type": "快递",
                "status_name": "待发货",
                "goods_total": "49.90",
                "shipping": "0.00",
                "price": "49.90",
                "remark": null,
                "status": 1,
                "change_price": "0.00",
                "change_dispatch_price": "0.00"
            }
        ]
    }
}

错误时返回:

  {
    "result": 0,
    "msg": "",
    "data": []
}

返回参数说明:

参数名 类型 说明
count array 统计数组
total int 总数
price int 金额
参数名 类型 说明
list array 门店列表数组
order_id int 订单ID
order_sn string 订单编号
pay_sn string 支付单号
create_time string 下单时间
goods array 商品数组
goods_id string 商品id
goods_thumb string 商品图片
goods_title string 商品名
goods_option_title string 规格名
goods_price float 商品原价
price float 商品应付
total float 商品数量
member_id float 会员id
nickname float 会员昵称
realname float 收货人姓名
mobile float 手机号
pay_type float 支付方式
express_type float 配送方式
status_name float 订单状态名(待发货、待付款、待收货等。。)
goods_total float 商品小计
shipping float 运费
price float 应收款
remark float 买家备注
status float 订单状态(0待支付,1待发货,2待收货,3已完成,-1已关闭)
change_price float 修改的订单金额
change_dispatch_price float 修改的运费金额
clerk string 核销员(有返回该字段才显示)

备注:

  • 更多返回错误代码请看首页的错误代码描述