物流助手logistics.addOrder返回invalid shop args的问题?
发布于 6 年前 作者 hejuan 2143 次浏览 来自 官方Issues

【问题描述】物流助手的logistics.addOrder调用时返回invalid shop args hint: [Pe98.A07851485]errorcode:9300535根据文档的提示有可能原因如下:shop字段商品缩略图 url、商品名称为空或者非法,或者商品数量为0再次确认,确实已经满足这些条件。【补充】:APPID:wxccd9d7d56ef3072c【部分参数】:{
 “add_source”: 0,
 “biz_id”: “5741166044”,
 “cargo”: {
  “count”: 1,
  “detail_list”: [{
   “count”: 1,
   “name”: “大毛皮”
  }],
  “space_x”: 3,
  “space_y”: 4,
  “space_z”: 5,
  “weight”: 2
 },
 “custom_remark”: “测试用,一会取消”,
 “delivery_id”: “SF”,
 “expect_time”: 0,
 “insured”: {
  “insured_value”: 600,
  “use_insured”: 1
 },
 “openid”: “oX1n25Qtt9VibdFxqn7BpxP_1R2w”,
 “order_id”: “S2019100841844”,
 “receiver”: {
  “address”: “哈哈哈哈”,
  “area”: “余杭区”,
  “city”: “杭州市”,
  “company”: “”,
  “country”: “”,
  “mobile”: “13656816081”,
  “name”: “哈”,
  “post_code”: “”,
  “province”: “浙江省”,
  “tel”: “”
 },
 “sender”: {
  “address”: “”,
  “area”: “余杭区”,
  “city”: “杭州市”,
  “company”: “”,
  “country”: “”,
  “mobile”: “13656816081”,
  “name”: “王XX”,
  “post_code”: “”,
  “province”: “浙江省”,
  “tel”: “”
 },
 “service”: {
  “service_name”: “标准快递”,
  “service_type”: 0
 },
 “shop”: {
  “goods_count”: 1,
  “goods_name”: “大毛皮”,
  “img_url”: “https:\/\/haiteng-real.oss-cn-hangzhou.aliyuncs.com\/Goods\/bc731898-a40d-40c0-a849-2a0457b452a6.jpg”,
  “wxa_path”: “\/index\/index?from=waybill”
 },
 “tagid”: null,
 “wx_appid”: “”
}

2 回复

提供下完整的参数

沙盒环境下的测试结果一样:{
 “add_source”: 0,
 “biz_id”: “test_biz_id”,
 “cargo”: {
  “count”: 1,
  “detail_list”: [{
   “count”: 1,
   “name”: “大毛皮”
  }],
  “space_x”: 3,
  “space_y”: 4,
  “space_z”: 5,
  “weight”: 2
 },
 “custom_remark”: “6”,
 “delivery_id”: “TEST”,
 “expect_time”: 0,
 “insured”: {
  “insured_value”: 700,
  “use_insured”: 1
 },
 “openid”: “oX1n25VFY9n80U9hY_9uVf0iAyho”,
 “order_id”: “S2019100841844”,
 “receiver”: {
  “address”: “哈哈哈哈”,
  “area”: “余杭区”,
  “city”: “杭州市”,
  “company”: “”,
  “country”: “”,
  “mobile”: “13656816081”,
  “name”: “哈”,
  “post_code”: “”,
  “province”: “浙江省”,
  “tel”: “”
 },
 “sender”: {
  “address”: “哈哈哈哈”,
  “area”: “余杭区”,
  “city”: “杭州市”,
  “company”: “”,
  “country”: “”,
  “mobile”: “13656816081”,
  “name”: “XXXX”,
  “post_code”: “”,
  “province”: “浙江省”,
  “tel”: “”
 },
 “service”: {
  “service_name”: “test_service_name”,
  “service_type”: 1
 },
 “shop”: {
  “goods_count”: 1,
  “goods_name”: “大毛皮”,
  “img_url”: “https:\/\/haiteng-real.oss-cn-hangzhou.aliyuncs.com\/Goods\/bc731898-a40d-40c0-a849-2a0457b452a6.jpg”,
  “wxa_path”: “\/index\/index?from=waybill”
 },
 “tagid”: null,
 “wx_appid”: “”
}

回到顶部