收藏
回答

物流助手下单报错,急?

调用接口:POST https://api.weixin.qq.com/cgi-bin/express/business/order/add?access_token=ACCESS_TOKEN

请求参数:

{

    "wx_appid": "wxd65fc165ef8afce6",

    "shop": {

        "goods_name": "微信气泡狗抱枕(小号)",

        "img_url": "https://oss.saas.trangol.com.cn/saas/icon/ZTO.png",

        "detail_list": [

            {

                "goods_name": "微信气泡狗抱枕(小号)",

                "goods_img_url": "https://mmbiz.qpic.cn/mmbiz_png/OiaFLUqewuIDNQnTiaCInIG8ibdosYHhQHPbXJUrqYSNIcBL60vo4LIjlcoNG1QPkeH5GWWEB41Ny895CokeAah8A/640",

                "goods_desc": "备注1"

            }

        ],

        "wxa_path": "/index/index?from=waybill&id=01234567890123456789",

        "goods_count": 1

    },

    "receiver": {

        "area": "天河区",

        "country": "中国",

        "address": "XX路 XX 号XX大厦 XX 栋XX",

        "province": "广东省",

        "city": "广州市",

        "name": "王小蒙",

        "mobile": "18610000000",

        "tel": "18610000000"

    },

    "insured": {

        "use_insured": 0,

        "insured_value": 0

    },

    "openid": "oEaYE5d1pUVi2di-dL8g2ydyc9D4",

    "delivery_id": "TEST",

    "custom_remark": "易碎物品",

    "expect_time": 1654930800,

    "sender": {

        "area": "海珠区",

        "country": "中国",

        "address": "XX路 XX 号XX大厦 XX 栋XX",

        "province": "广东省",

        "city": "广州市",

        "name": "刘一",

        "mobile": "18666666666",

        "tel": "18610000000"

    },

    "service": {

        "service_type": 1,

        "service_name": "test_service_name"

    },

    "add_source": 0,

    "biz_id": "test_biz_id",

    "cargo": {

        "space_y": 1,

        "space_z": 1,

        "detail_list": [

            {

                "name": "微信气泡狗抱枕(小号)",

                "count": 1

            }

        ],

        "count": 1,

        "weight": 1,

        "space_x": 1

    },

    "order_id": "3BFCF4D21361485FB2EF81EA19ED1ED3"

}

返回错误:{"errcode":930561,"errmsg":"args error rid: 62a31243-771b582f-15a39cc1"}

错误码对应的是参数错误,我对了一个多钟,试了又试,也没有看出哪里参数不对?可否帮忙查一下原因,而且报错,可否具体一点,哪个参数之类,在具体些?

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

1 个回答

  • Constlu
    Constlu
    2022-06-13

    你好,你这个case是由于这2个参数缺失导致的,辛苦重新检查一下必填字段再试试呢?

    2022-06-13
    有用
    回复
登录 后发表内容