调用接口:https://api.weixin.qq.com/cgi-bin/express/local/business/order/add?access_token=ru
入参:
"sender": {
"phone": "",
"coordinate_type": 1,
"address": "东莞市南城区银丰路XXX号",
"name": "测试XXX店",
"lng": 113.748711,
"lat": 23.025871,
"city": "东莞市",
"address_detail": "(测试XXX店)"
},
"delivery_id": "DADA",
"shop_no": "10045",
"shop": {
"img_url": "xxx",
"wxa_path": "/pages/order/detail/detail?orderId=100004881244&orderStoreId=11000488131893",
"goods_name": "嘉顿瑞士卷三个装",
"goods_count": 6
},
"shopid": "dadae674e926e255XXX",
"receiver": {
"phone": "15601159XXX",
"coordinate_type": 1,
"address": "胜和酒店式公寓",
"name": "周道",
"lng": 113.74916942132116,
"lat": 23.026387540499584,
"city": "东莞市",
"address_detail": "2030"
},
"order_info": {
"expected_finish_time": 1635417900,
"order_time": 1635413674,
"rider_pick_method": 1,
"delivery_service_code": "",
"note": "17086#100004881244,",
"order_type": 0
},
"openid": "o6QO75Q6bq1Wp9cGLy9efvGRw6Lg",
"cargo": {
"cargo_first_class": "日用百货",
"goods_value": 18.6,
"cargo_second_class": "超市",
"goods_weight": 0
},
"shop_order_id": "100004881244",
"access_token": "50_CnmuNQRuhlAWfqyPvzFZ_JwYvbM-fMrG2k9E9JSUOJu4j43wyZKpWK323vdkGh9BWK_xiQOc5JV_F4SOAhW5ydUgzzW5SOVey8g1IE2lHNox93kMJa4-US2TflKjMt2dbTNcm8tnNuJF7vz8HKYdABAZCQ",
"delivery_sign": "3ad0805f481834f17c8d24e02da1608086f690a9"
}
出参:
{
"resultcode": 2001,
"resultmsg": "app_key无效",
"fee": 0,
"deliverfee": 0,
"couponfee": 0,
"tips": 0,
"distance": 0,
"waybill_id": "",
"order_status": 0,
"finish_code": 0,
"pickup_code": 0,
"dispatch_duration": 0,
"sender_lng": 0,
"sender_lat": 0
}