【物流助手】添加订单失败
发布于 6 年前 作者 mingliao 10689 次浏览 来自 问答

请求body

品骏快递请求数据

{

    “biz_id”: “PJ_CASH”,

    “cargo”: {

        “count”: 1,

        “detail_list”: [

            {

                “count”: 1,

                “name”: “测试商品”

            }

        ],

        “space_x”: 1,

        “space_y”: 1,

        “space_z”: 1,

        “weight”: 1

    },

    “custom_remark”: “备注信息”,

    “delivery_id”: “PJ”,

    “insured”: {

        “insured_value”: 0,

        “use_insured”: 0

    },

    “openid”: “orHH05YrNi2LLksvVnUiup2ofo84”,

    “order_id”: “15546883962454883”,

    “receiver”: {

        “address”: “昌平二中”,

        “area”: “昌平区”,

        “city”: “北京市”,

        “mobile”: “15688888888”,

        “name”: “张先生”,

        “province”: “北京市”

    },

    “sender”: {

        “address”: “农大南路硅谷亮城C座”,

        “area”: “海淀区”,

        “city”: “北京市”,

        “mobile”: “15656568811”,

        “name”: “张先生”,

        “province”: “北京市”

    },

    “service”: {

        “service_name”: “快递包裹”,

        “service_type”: 1

    },

    “shop”: {

        “goods_count”: 1,

        “goods_name”: “测试商品”,

        “img_url”: “https://image01.ebuick.com.cn/69/709/116b15aec7a57085700edba7c3a13630.png?w=70&h=70”,

        “wxa_path”: “”

    }

}

顺丰特惠请求数据

{

    “biz_id”: “SF_CASH”,

    “cargo”: {

        “count”: 1,

        “detail_list”: [

            {

                “count”: 1,

                “name”: “测试商品”

            }

        ],

        “space_x”: 1,

        “space_y”: 1,

        “space_z”: 1,

        “weight”: 1

    },

    “custom_remark”: “备注信息”,

    “delivery_id”: “SF”,

    “insured”: {

        “insured_value”: 0,

        “use_insured”: 0

    },

    “openid”: “orHH05YrNi2LLksvVnUiup2ofo84”,

    “order_id”: “15546883962454883”,

 

“receiver”: {

        “address”: “昌平二中”,

        “area”: “昌平区”,

        “city”: “北京市”,

        “mobile”: “15688888888”,

        “name”: “张先生”,

        “province”: “北京市”

    },

    “sender”: {

        “address”: “农大南路硅谷亮城C座”,

        “area”: “海淀区”,

        “city”: “北京市”,

        “mobile”: “15656568811”,

        “name”: “张先生”,

        “province”: “北京市”

    },

    “service”: {

        “service_name”: “顺丰特惠”,

        “service_type”: 4

    },

    “shop”: {

        “goods_count”: 1,

        “goods_name”: “测试商品”,

        “img_url”: “https://image01.ebuick.com.cn/69/709/116b15aec7a57085700edba7c3a13630.png?w=70&h=70”,

        “wxa_path”: “”

    }

}

返回数据

品骏快递返回码

{

    “delivery_resultcode”: -1,

    “delivery_resultmsg”: “创建订单[orderId:15546883962454883]时,获取运单号异常”,

    “errcode”: 9300501,

    “errmsg”: “delivery logic fail”,

    “waybill_data”: []

}

顺丰特惠返回码

{

    “delivery_resultcode”: 20002,

    “delivery_resultmsg”: “address error”,

    “errcode”: 9300501,

    “errmsg”: “delivery logic fail”,

    “waybill_data”: []

}

1 回复

顺丰API也没找到20002,地址错误是怎么回事

回到顶部