收藏
回答

小程序物流助手,生成运单时一直返回47001,找不到原因?

调用小程序物流助手,生成运单,一直报错。

API地址:https://api.weixin.qq.com/cgi-bin/express/business/order/add?access_token=ACCESS_TOKEN


我post的参数集合:

{

"access_token": "56_rspDb_gsr-ifflZukMIsBgAYZ2asdfasdfasdfasdfasdfaS0GTlFd6vw7qh0_xz5yp4DD8CiaJurxkY-vJ94C1LIcIPCpdVRYn5CiEaNOi9nQuq4Mwldej80DxxxxxxxxxxxN",

"add_source": 0,

"wx_appid": "wx0b7caasdfasdfasdfasdff",

"order_id": "202204241047308527214634886",

"openid": "oYorN4loMxdsdfasterqwerqJQb6c",

"delivery_id": "STO",

"biz_id": "浙江海宁营业部_xxxx",

"custom_remark": "快递备注信息",

"sender": {

"name": "老王",

"mobile": "13688888886",

"company": "海宁仓",

"province": "浙江省",

"city": "嘉兴市",

"area": "海宁市",

"address": "凤凰路"

},

"receiver": {

"name": "老游",

"mobile": "13688888888",

"province": "海南省",

"city": "海口市",

"area": "秀英区",

"address": "白云大道"

},

"cargo": {

"count": 1,

"weight": 0.1,

"space_x": 10,

"space_y": 10,

"space_z": 5,

"detail_list": [{

"name": "美体内裤(薄款)-2XL-肤色*2(2条)",

"count": 1

}]

},

"shop": {

"wxa_path": "/pages/order/order-show?id=1655",

"detail_list": [{

"goods_name": "无缝高腰塑身美体内裤(薄款)",

"goods_img_url": "http://xxxx-style.oss-cn-hangzhou.aliyuncs.com/20NViR7I%3D",

"goods_desc": "2XL-肤色*2"

}]

},

"insured": {

"use_insured": 0,

"insured_value": 0

},

"service": {

"service_type": 1,

"service_name": "标准快递"

}

}


返回结果一直是:errcode: 47001, errmsg: "data format error rid: 62695a4e-2b51ae72-3f796977"

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

2 个回答

  • 猪会飞
    猪会飞
    06-08

    请问问题解决了吗?怎样解决的

    06-08
    有用
    回复
  • Mr.Zhao
    Mr.Zhao
    2022-04-28

    json里面不要token

    2022-04-28
    有用
    回复 8
    • 老易
      老易
      2022-04-29
      去掉了也一样啊。我用官方示例也是一样的提示,说格式不对。
      2022-04-29
      回复
    • Mr.Zhao
      Mr.Zhao
      2022-04-29回复老易
      我咋知道去掉也一样啊,代码都在你手里,你用postman调一下吧  截个图
      2022-04-29
      回复
    • 老易
      老易
      发表于移动端
      2022-04-29回复Mr.Zhao
      你微信多少我加你请教下。或者你加我251378520
      2022-04-29
      回复
    • Mr.Zhao
      Mr.Zhao
      2022-04-29回复老易
      postman截个图
      2022-04-29
      回复
    • 老易
      老易
      2022-04-30
      整个请求参数,过程,收到的结果都在图里。
      2022-04-30
      回复
    查看更多(3)
登录 后发表内容