请求接口
https://api.weixin.qq.com/cgi-bin/express/business/order/add
请求参数:
{“add_source”:0,“order_id”:“499”,“openid”:“oEOH00PRiFN7l54H50YcvzjDJCzY”,“delivery_id”:“TEST”,“biz_id”:“test_biz_id”,“sender”:{“name”:"\u54c8\u54c8",“mobile”:“189****5965”,“province”:"\u4e91\u5357\u7701",“city”:"\u6606\u660e\u5e02",“area”:"\u5b98\u6e21\u533a",“address”:"\u767e\u5bcc\u742aB\u5ea7809"},“receiver”:{“name”:"\u4e0d\u54c8\u54c8",“mobile”:“185****4505”,“province”:"\u4e91\u5357\u7701",“city”:"\u6606\u660e\u5e02",“area”:"\u897f\u5c71\u533a",“address”:"\u5170\u4ead\u4e0a\u9526\u4e8c\u671f"},“cargo”:{“count”:1,“weight”:10,“space_x”:10,“space_y”:10,“space_z”:10,“detail_list”:[{“name”:“hell”,“count”:1}]},“shop”:{“wxa_path”:"\/pages\/order\/index",“img_url”:“http:\/\/wxbase.ynync.com\/attachment\/images\/633\/2019\/09\/Q00yX3xCuiGUS4sunGsSTxstMSytk4.jpg”,“goods_name”:“hello”,“goods_count”:1},“insured”:{“use_insured”:1,“insured_value”:10000},“service”:{“service_type”:1,“service_name”:“test_service_name”}}
返回结果:
{“status”:1,“result”:{“errcode”:9300503,“errmsg”:“Specified delivery id is not registerred hint: [QguI2a0750r256]”,“url”:“http:\/\/wxbase.com\/.\/”}}{“service_type”:1,“service_name”:“test_service_name”}}