type:1=>拼團中,2=>拼團成功(配送中),3=>拼團失敗,4=>拼團完成(個人確認收貨),5=>退貨
send_state:1=>待發貨,2=>配送中,3=>已收貨
send2_state:-1二級待發貨,0二級商家發貨,1二級鏢師接單,2鏢師完成取貨,3鏢師完成送貨,39一級待發貨,40一級商家發貨,41一級鏢師接單,42一級鏢師完成取貨
1.用戶訂單支付詳情
~~~[api]
get:https://admin.nineopen.com/order/order_pay
unionid#用戶本人unionid
group_id#拼團id
<<<
success
{
"status": 0,
"message": "ok",
"data": {
"address": {
"home_address": "河南省漯河市郾城區郾祁山路509號 錦江花園",
"nickname": "ms",
"unionid": "oGwVH0lqS5-u2ts2Z2s1zCUjQWeM"
},
"group": {
"buy": [
{
"unionid": "oGwVH0uR0CVhfqytTw517AoxF--c",
"order_id": "I730755250655602",
"headimgurl": "http://thirdwx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTLsR19wO33Dboq32uCxwABINRoyJcGvLuM2RSnaEDU5URBblfdQ77icv4yp9eZgdUwjhpyWV6zYukQ/132",
"goods_buy_num": 1
}
],
"group_residue_count": 1,
"colonel": {
"unionid": "oGwVH0uR0CVhfqytTw517AoxF--c",
"head_url": "http://thirdwx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTLsR19wO33Dboq32uCxwABINRoyJcGvLuM2RSnaEDU5URBblfdQ77icv4yp9eZgdUwjhpyWV6zYukQ/132"
}
},
"goods": {
"goods_cover": [
"https://store.nineopen.com/upload/20190726/2b74fa1a226467c4bde2d89da9611db0.jpg"
],
"goods_id": 3,
"goods_name": "[勿拍]商品測試不發貨-該產品只用于測試",
"goods_group_price": "0.01",
"is_send": 2,
"genre": 2,
"goods_group_num": 2,
"goods_stock": 84,
"sign": "掌柜測試"
}
}
}
<<<
error
~~~
2.用戶訂單詳情
~~~[api]
get:https://admin.nineopen.com/order/order_user_show
order_id#訂單id
unionid#用戶本人unionid
type#1=>拼團中,2=>拼團成功(配送中),3=>拼團失敗,4=>拼團完成(個人確認收貨),5=>退貨
<<<
success
{
"status": 0,
"message": "ok",
"data": {
"order_id": "I412551761658327",
"group_id": 13,
"goods_id": 27,
"goods_name": "漢尚華蓮魚幼微原創傳統漢服女裝唐制刺繡高腰齊胸襦裙日常春夏裝",
"goods_cover": "https://g-search3.alicdn.com/img/bao/uploaded/i4/i4/3358098495/O1CN0148A98f2Ccl4p4veY9_!!0-item_pic.jpg",
"goods_group_price": "0.01",
"genre": 1,
"send_id": null,
"send_state": 1,
"shop_id": 1,
"sign": null,
"unionid": "oGwVH0uR0CVhfqytTw517AoxF--c",
"home_name": "王慧文18790901856",
"home_phone": "18790901856",
"home_address": "河南省漯河市郾城區嵩山東支路7號 建業壹號中心607",
"latitude": 33.6001205,
"longitude": 114.0135269,
"goods_buy_num": 1,
"payment_no": null,
"transaction_id": "4200000265201904129264572573",
"create_time": "2019-04-12 16:20:28",
"send": null,
"transaction": {
"create_time": "2019-04-12 16:20:28"
},
'type':1
}
}
<<<
error
~~~
2.1用戶退款訂單詳情
~~~[api]
get:https://admin.nineopen.com/order/order_user_refund_show
order_id#訂單id
unionid#用戶本人unionid
<<<
success
<<<
error
~~~
3.用戶訂單列表
~~~[api]
get:https://admin.nineopen.com/order/order_user_list
unionid#用戶unionid
type#1=>拼團中,2=>拼團成功(配送中),3=>拼團失敗,4=>拼團完成(個人確認收貨),5=>退貨
page#頁碼
<<<
success
<<<
error
~~~
4.用戶退貨
~~~[api]
post:https://admin.nineopen.com/order/order_refund
order_id#
unionid#用戶本人unionid
<<<
success
<<<
error
~~~
5.用戶確認退貨成功
~~~[api]
put:https://admin.nineopen.com/order/order_refund_sure
order_id#
shop_id#
unionid#
<<<
success
<<<
error
~~~
6.掌柜拒絕退貨
~~~[api]
put:https://admin.nineopen.com/order/order_refund_no
order_id#
shop_id#
<<<
success
<<<
error
~~~
7.用戶到店消費 ----商城
~~~[api]
post:https://admin.nineopen.com/order/order_send
order_id#訂單id
unionid#消費者unionid
<<<
success
success
<<<
error
error
~~~
4.商家訂單列表
~~~[api]
get:https://admin.nineopen.com/order/order_shop_list
type# 1=>待發貨,2=>配送中,3=>已完成,4=>退貨
shop_id#掌柜id
page#頁碼
<<<
success
<<<
error
~~~
5.商家訂單詳情
~~~[api]
get:https://admin.nineopen.com/order/order_shop_show
order_id#
shop_id#掌柜id
<<<
success
<<<
error
~~~
5.1商家退款訂單詳情
~~~[api]
get:https://admin.nineopen.com/order/order_shop_refund_show
order_id#訂單id
shop_id#掌柜id
<<<
success
<<<
error
~~~
6.用戶查看物流訂單詳情
~~~[api]
get:https://admin.nineopen.com/send/send_show
send_id#物流訂單id
<<<
success
{
"status": 0,
"message": "ok",
"data": {
"map": {
"home_address": {
"latitude": 33.600120500000003,
"longitude": 114.0135269
},
"goods_address": {
"latitude": 33.600120500000003,
"longitude": 114.0135269
}
},
"send_history": [
{
"time": "2019-04-17 00:00:00",
"status": "訂單已創建,商家正在準備貨物"
}
],
"send": {
"send_id": "1",
"sign": null,
"phone": null,
"goods_cover": "https://g-search3.alicdn.com/img/bao/uploaded/i4/i4/3358098495/O1CN0148A98f2Ccl4p4veY9_!!0-item_pic.jpg",
"send_status": 0
}
}
}
<<<
error
~~~