简要描述:
- 订单列表
请求URL:
https://open.jisuapp.cn/api/Order/OrderList
请求方式:
- POST
- GET
参数:
参数名 | 必选 | 类型 | 说明 |
---|---|---|---|
access_token | 是 | string | access_token(通过授权认证获取) |
page | 否 | int | 页码 |
page_size | 否 | int | 每页显示的数 |
goods_type | 否 | int | 商品类型 0:电商,默认0 |
idx_arr[idx] | 否 | string | 固定值 order_id:订单号;status:订单状态0:待付款,1:待发货,2:待收货,3待评价:,4:退款审核中,5:退款中,6:已完成,7:已关闭,8:待接单 |
idx_arr[idx_value] | 否 | string | 自定义值 |
order_id_list[] | 否 | array | 订单号 |
返回示例
{
"status": 0,
"data": [{
"form_data": {
"app_info": {
"app_name": "\u6211\u7684\u5e94\u752894",
"app_logo": "\/\/test.zhichiwangluo.com\/static\/invitation\/images\/logo.png"
},
"goods_info": [{
"goods_id": "8660",
"price": "1.00",
"stock": "100",
"goods_name": "\u5546\u54c111",
"is_integral": "-1",
"cover": "http:\/\/img.weiye.me\/zcimgdir\/thumb\/t_15176474025a75762a2d3d4.png",
"model": "",
"max_can_use_integral": "0",
"model_id": "0",
"num": "1",
"sub_shop_app_id": null,
"related_shop_app_id": "0",
"mass": "0.000",
"volume": "0.000",
"express_rule_id": "0",
"is_seckill": 2
}],
"remark": "",
"sub_shop_info": null,
"location_id": 0,
"take_out_info": null,
"form_id": "",
"buyer_info": {
"nickname": "\u632f\u7fc5\u98de\u7fd4",
"phone": "15767979661",
"message": ""
},
"original_price": 1,
"selected_benefit_info": "",
"selected_benefit": {
"discount_type": null
},
"original_express_fee": 0,
"address_info": {
"name": "\u5b59\u632f\u7965",
"contact": "15767979661",
"detailAddress": "111111111",
"province": {
"text": "\u65b0\u7586\u7ef4\u543e\u5c14\u81ea\u6cbb\u533a",
"id": "31"
},
"city": {
"text": "\u4f0a\u7281\u54c8\u8428\u514b\u81ea\u6cbb\u5dde",
"id": "370"
},
"district": {
"text": "\u65b0\u6e90\u53bf",
"id": "3224"
},
"address_id": "40"
},
"tostore_data": {
"tostore_order_type": "",
"tostore_appointment_time": "",
"tostore_buyer_phone": "",
"tostore_remark": "",
"location_id": 0
},
"additional_info": "",
"id": "6343",
"order_id": "5aa78a605e9ac539538421",
"buyer_id": "de2bbb8d1f37333a9926333ff0848fb8",
"app_id": "mpWi26AmWA",
"transaction_id": "",
"payment_id": "0",
"pay_mode_id": "0",
"status": "1",
"total_price": "1.00",
"add_time": "2018-03-13 16:22:56",
"payment_time": "0",
"refund_time": "0",
"goods_type": "0",
"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",
"goods_num": 1
}
}, {
"form_data": {
"app_info": {
"app_name": "\u5bb6\u5c45Lite",
"app_logo": "\/\/test.zhichiwangluo.com\/static\/invitation\/images\/logo.png"
},
"goods_info": [{
"goods_id": "8635",
"price": "100.00",
"stock": "10",
"goods_name": "\u5bb6\u5177\u89c4\u683c\u6d4b\u8bd5",
"is_integral": "-1",
"cover": "http:\/\/img.zhichiwangluo.com\/zcimgdir\/album\/file_54b6087b48f65.jpg",
"model": "32,33",
"max_can_use_integral": "0",
"model_id": "13319",
"num": "1",
"sub_shop_app_id": null,
"related_shop_app_id": "0",
"mass": "12.000",
"volume": "12.000",
"express_rule_id": "0",
"is_seckill": 2,
"model_value": ["S", "A"],
"model_name": ["\u5c3a\u7801", "\u578b\u53f7"]
}],
"remark": "\u6d4b\u8bd5",
"sub_shop_info": {
"name": ""
},
"location_id": 0,
"take_out_info": null,
"form_id": "the formId is a mock one",
"buyer_info": {
"nickname": "\u5f20\u56fd\u4f1f@\u6d69\u701a\u7f51\u7edc",
"phone": null,
"message": ""
},
"original_price": 100,
"selected_benefit_info": "",
"selected_benefit": {
"discount_type": null
},
"original_express_fee": 0,
"address_info": {
"name": "\u5f20\u4e09",
"contact": "020-81167888",
"detailAddress": "\u65b0\u6e2f\u4e2d\u8def397\u53f7",
"province": {
"text": "\u5e7f\u4e1c\u7701",
"id": "19"
},
"city": {
"text": "\u5e7f\u5dde\u5e02",
"id": "231"
},
"district": {
"text": "\u6d77\u73e0\u533a",
"id": "2129"
},
"address_id": "219"
},
"tostore_data": {
"tostore_order_type": "",
"tostore_appointment_time": "",
"tostore_buyer_phone": "",
"tostore_remark": "",
"location_id": 0
},
"additional_info": "",
"id": "6331",
"order_id": "5aa621f8974cd312729588",
"buyer_id": "ae5c0468bba46af4249e4d6d9df60e0b",
"app_id": "mpWi26AmWA",
"transaction_id": "",
"payment_id": "0",
"pay_mode_id": "0",
"status": "6",
"total_price": "100.00",
"add_time": "2018-03-12 14:45:12",
"payment_time": "0",
"refund_time": "0",
"goods_type": "0",
"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",
"goods_num": 1
}
}],
"is_more": 0,
"current_page": 1,
"count": "2",
"total_page": 1
}
返回参数说明
参数名 | 类型 | 说明 |
---|---|---|
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 | 优惠方式 |
备注
- 更多返回错误代码请看首页的错误代码描述