收藏
回答

物流助手--生成运单号接口?

请求的参数:{"add_source":0,"order_id":"3f6e9fc942d044369249809852439498","openid":"oLG_64ml-8z-xoN9KL5ZVSTCBEMA","delivery_id":"SF","biz_id":"5660023471","custom_remark":"易碎物品","sender":"{\"Name\":\"王玉\",\"Tel\":\"\",\"Mobile\":\"15375512569\",\"Company\":\"\",\"PostCode\":\"\",\"Country\":\"\",\"Province\":\"安徽省\",\"City\":\"合肥市\",\"Area\":\"肥西县\",\"Address\":\"深港产业园5栋b座\"}","receiver":"{\"Name\":\"愿你\",\"Tel\":\"\",\"Mobile\":\"17354270916\",\"Company\":\"\",\"PostCode\":\"\",\"Country\":\"\",\"Province\":\"安徽省\",\"City\":\"合肥市\",\"Area\":\"庐阳区\",\"Address\":\"太平洋森活广场\"}","cargo":"{\"count\":1,\"weight\":5.5,\"space_x\":30.5,\"space_y\":20.0,\"space_z\":20.0,\"detail_list\":[{\"count\":1,\"name\":\"红肉蜜柚6个\"}]}","shop":"{\"wxa_path\":\"pages/check/detail/detail\",\"img_url\":\"http://yungengcloud.xinanxrf.com/image/b134cf88-23e4-4210-9608-697b58f7ad81.jpg\",\"goods_name\":\"红肉蜜柚6个\",\"goods_count\":1}","insured":"{\"use_insured\":1,\"insured_value\":\"100\"}","service":"{\"service_type\":0,\"service_name\":\"标准快递\"}"}

返回结果:{"errcode":9300535,"errmsg":"invalid shop args hint: [mJWEIA08781485]"};9300535:shop字段商品缩略图 url、商品名称为空或者非法,或者商品数量为0

回答关注问题邀请回答
收藏

1 个回答

  • 灵芝
    灵芝
    2020-03-02

    你好,参考看下是否同一个问题:物流助手logistics.addOrder返回invalid shop args的问题?? raylin 的评论 - 微信开放社区 https://developers.weixin.qq.com/community/develop/doc/0008c63007c718b26f497f47d56c00?highLine=9300535&jumpto=reply&commentid=0008644f7acbf0517849453e85bc&parent_commentid=000aa8dd80ccc0f175494397d564

    2020-03-02
    有用
    回复 2
    • 玄悯
      玄悯
      2020-03-02
      你好,还是报错,这是请求参数:{
       "add_source": 0,
       "order_id": "3f6e9fc942d044369249809852439498",
       "openid": "oLG_64ml-8z-xoN9KL5ZVSTCBEMA",
       "delivery_id": "SF",
       "biz_id": "5660023471",
       "custom_remark": "测试用,一会取消",
       "sender": "{\"Name\":\"王玉\",\"Tel\":\"\",\"Mobile\":\"15375512569\",\"Company\":\"\",\"PostCode\":\"\",\"Country\":\"\",\"Province\":\"安徽省\",\"City\":\"合肥市\",\"Area\":\"肥西县\",\"Address\":\"深港产业园5栋b座\"}",
       "receiver": "{\"Name\":\"愿你\",\"Tel\":\"\",\"Mobile\":\"17354270916\",\"Company\":\"\",\"PostCode\":\"\",\"Country\":\"\",\"Province\":\"安徽省\",\"City\":\"合肥市\",\"Area\":\"庐阳区\",\"Address\":\"太平洋森活广场\"}",
       "cargo": "{\"count\":1,\"weight\":5.5,\"space_x\":30.5,\"space_y\":20.0,\"space_z\":20.0,\"detail_list\":[{\"count\":1,\"name\":\"红肉蜜柚6个\"}]}",
       "shop": "{\"wxa_path\":\"pages/check/check\",\"img_url\":\"http://yungengcloud.xinanxrf.com/image/b134cf88-23e4-4210-9608-697b58f7ad81.jpg\",\"goods_name\":\"红肉蜜柚6个\",\"goods_count\":1}",
       "insured": "{\"use_insured\":1,\"insured_value\":\"100\"}",
       "service": "{\"service_type\":0,\"service_name\":\"标准快递\"}"
      }
      2020-03-02
      回复
    • 灵芝
      灵芝
      2020-03-02回复玄悯
      appid、完整的请求、具体返回信息、具体操作时间都贴一下看看
      2020-03-02
      回复
登录 后发表内容
问题标签