简要描述:

  • 订单列表

请求URL:

  • https://open.jisuapp.cn/pc/Order/OrderList

请求方式:

  • POST

参数:

参数名 必选 类型 说明
access_token string access_token(通过授权认证获取)
page int 页码
page_size int 每页显示的数
goods_type int 商品类型 0->普通商品 1->预约商品 2->外卖商品 3->到店商品 4->储值商品 5->当面付 6->排号
idx_arr array 筛选条件

参数详情说明

goods_type:
0;    // 普通商品类型
1;    // 预约商品
2;    // 外卖商品
3;    // 到店商品
4;    // 储值商品
5;    // 当面付
6;    // 排号
8;    // 付费会员卡
9;    // 可兑换优惠券
10;   // 新版预约
11;   // 社区资讯版块收费
14;   // 新版预约次卡

idx_arr 可以用来搜索订单类型
            'idx_arr' => array(
                "idx" => 'status',
                'idx_value' => $status_id  // 分类状态值
            ),
$status_id状态值有 订单状态 0:待付款,1:待发货,2:待收货,3:待评价,4:退款审核中,5:退款中,6:已完成,7:已关闭,8:待接单

也可以用来筛选单个订单
         'idx_arr' => array(
                "idx" => 'order_id',
                'idx_value' => $order_id  // 订单id
            ),

根据核销码查找某一个订单
         'idx_arr' => array(
                "idx" => 'verify_code',
                'idx_value' => $verify_code  // 核销码
            ),

返回示例

{
    "status": 0,
    "data": [
         {
            "form_data": {
                "app_ifo": {
                    "app_name": "我应用",
                    "app_logo": "//test.zhichiwangluo.com/static/invitation/images/logo.png"
                },
                "plugin_info": {
                    "plugin_key": "chebin",
                    "plugin_name": "kaia",
                    "plugin_title": "砍",
                    "plugin_version": "3"
                },
                "buyer_info": {
                    "nickname": "黄美",
                    "phone": "175121"
                },
                "goods_info": [
                    {
                        "goods_id": "12126",
                        "price": "0.01",
                        "stock": "89",
                        "goods_name": "规测试",
                        "cover": "http://img.zhichiwangluo.com/zcimgdir/thumb/t_15272140795b076fff3c571.jpg",
                        "model_id": "15212",
                        "model": "32,31,30",
                        "num": "1",
                        "mass": "9.000",
                        "volume": "9.000",
                        "express_rule_id": "197",
                        "model_value": [
                            "黑色",
                            "甜",
                            "2"
                        ],
                        "model_name": [
                            "颜色",
                            "口味",
                            "容量"
                        ]
                    }
                ],
                "address_info": {
                    "name": "张三",
                    "contact": "020-81167888",
                    "detailAddress": "新港中7号",
                    "province": {
                        "text": "广东省",
                        "id": "19"
                    },
                    "city": {
                        "text": "广州市",
                        "id": "231"
                    },
                    "district": {
                        "text": "海珠区",
                        "id": "2129"
                    }
                },
                "form_id": "wx23174917467066d102130eb23483405613",
                "id": "8153",
                "order_id": "5b55a49c42b96938367976",
                "buyer_id": "28b877d6bfbada24ad4603f4cd546d63",
                "app_id": "pGN42",
                "transaction_id": "4200000158201807237949189059",
                "payment_id": "3",
                "pay_mode_id": "131",
                "status": "1",
                "total_price": "0.02",
                "add_time": "2018-07-23 17:49:16",
                "payment_time": "2018-07-23 17:49:31",
                "refund_time": "0",
                "goods_type": "7",
                "parent_shop_app_id": "0",
                "use_balance": "0.00",
                "is_self_delivery": "0",
                "discount_cut_price": "0.00",
                "has_seckill": "0",
                "team_token": "",
                "is_group_buy_order": "0",
                "appointment_time": "0",
                "form": "",
                "dispatch_time": "0",
                "remark": "",
                "is_pay_on_delivery": 0,
                "goods_num": 1,
                "original_price": 0,
                "selected_benefit": null,
                "selected_benefit_info": ""
            }
        }
    ],
    "is_more": 1,
    "current_page": 1,
    "count": "13",
    "total_page": 2,
    "current_goods_type": "7",
    "goods_type_list": [
        "7",
        "1",
        "0"
    ],
    "take_out_info": []
}

返回参数说明

参数名 类型 说明
status int 0:数据返回正常,1:数据返回异常
form_data.order_id string 订单号
form_data.goods_info array 商品信息,这是一个数组,存的是订单包含的商品列表
form_data.total_price double 订单实收价格
form_data.use_balance double 储值金抵扣
form_data.original_express_fee double 快递费用
form_data.buyer_info array 用户信息
form_data.address_info array 收货信息
form_data.group_buy_order_info array 活动优惠
form_data.selected_benefit_info array 优惠方式

备注

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

results matching ""

    No results matching ""