https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/express/by-business/logistics.addOrder.html
我收到交付逻辑失败,但没有错误消息显示问题所在。当我使用 test add order 时它可以工作,但是当我切换到 SF 并且我的 bizid 时它不起作用
const result = await cloud.openapi.logistics.addOrder({
"openid": orderData._openid,
"sender": {
"name": 'Wang',
"company": 'Dr.Party',
"country": '中国',
"province": '上海市',
"city": '上海市',
"area": '静安区',
"address": '上海市静安区吴江路188号静安新时代大厦17层1701室',
"postCode": '200041'
},
"receiver": {
"name": orderData.name,
"mobile": orderData.mobile,
"country": '中国',
"province": orderData.province_name,
"city": orderData.city_name,
"area": orderData.district_name,
"address": orderData.address,
"postCode": orderData.postalCode
},
"shop": {
"wxaPath": 'uCenter/fufillment/index?from=waybill&id=01234567890123456789',
"imgUrl": 'https://6472-drparty-3g1ip4ga6f18c8ff-1306335328.tcb.qcloud.la/images/product.png',
"goodsName": 'Dr.Party Hangover Control Supplements',
"goodsCount": orderData.quantity
},
"cargo": {
"count": newOrderList.length,
"weight": weight,
"spaceX": spaceX,
"spaceY": spaceY,
"spaceZ": spaceZ,
"detailList": newOrderList
},
"insured": {
"useInsured": 0,
"insuredValue": 0
},
"service": {
"serviceType": 0,//0
"serviceName": '标准快递'//标准快递 //test_service_name
},
"addSource": 0,
"orderId": orderData.order_sn,
"deliveryId": 'SF',//TEST //SF
"bizId": '0210512994',//test_biz_id //0210512994
"customRemark": '易碎物品'
})
你好,可参考微信物流助手下单错误9300501?? 社区技术运营专员-CJiang 的回答 - 微信开放社区 https://developers.weixin.qq.com/community/develop/doc/000e6ed28c4f18cb80aa7288051c00?_at=1631245101722&jumpto=comment&commentid=000cccd36d87e86d80aa66d6d5b4
后续提问前建议先通过关键词在社区搜索解决方案。