收藏
回答

运单申请有问题。

https://developers.weixin.qq.com/miniprogram/dev/OpenApiDoc/express/express-by-business/addOrder.html {"errcode":9300501,"errmsg":"delivery logic fail rid: 650d4ec8-2d09ae0d-37be0820","delivery_resultcode":30001,"delivery_resultmsg":"cargo.detailList is empty","waybill_data":[]}文档里面,没有cargo.detailList 这个参数。

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

1 个回答

  • 视频号小店技术专员-hengrui
    视频号小店技术专员-hengrui
    2023-09-27

    抱歉这里文档没有同步更新,加上cargo.detialList之后请求参数如下:

    {
    	"shop": {
    		"detail_list": [{
    			"goods_name": "干眼设备1代",
    			"goods_img_url": "https://amb.focusight.top/eye/product/title.png",
    			"goods_desc": "1代"
    		}],
    		"wxa_path": "/index/index"
    	},
    	"receiver": {
    		"area": "钱塘区",
    		"country": "中国",
    		"address": "永*****910号",
    		"province": "浙江省",
    		"city": "杭州市",
    		"name": "陈杨",
    		"mobile": "18*******2"
    	},
    	"insured": {
    		"use_insured": 0,
    		"insured_value": 0
    	},
    	"openid": "onK_k5ZHktbYEUVaHMV7y7u15vrs",
    	"delivery_id": "SF",
    	"custom_remark": "易碎物品",
    	"expect_time": 1695370953,
    	"sender": {
    		"area": "上城区",
    		"country": "中国",
    		"address": "钱涌*****304",
    		"province": "浙江省",
    		"city": "杭州市",
    		"name": "陈杨",
    		"mobile": "18*******2"
    	},
    	"service": {
    		"service_type": 0,
    		"service_name": "标准快递"
    	},
    	"biz_id": "SF_CASH",
    	"add_source": 0,
    	"cargo": {
    		"space_y": 15,
    		"space_z": 10,
    		"count": 1,
    		"detail_list": [{
    			"name": "干眼症一代",
    			"count": 1
    		}],
    		"weight": 1.2,
    		"space_x": 20
    	},
    	"order_id": "20230922162233"
    }
    
    2023-09-27
    有用
    回复
登录 后发表内容