文档中心 > API类目 > 阿里健康新零售

qimen.alibaba.alihealth.delivery.sf.consign (阿里健康调用顺丰发货接口)

阿里健康O2O商家使用顺丰发货

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
ver String 必须 1.0 版本号
ts Number 必须 1561538786449 时间戳
orderThirds OrderThirdDO [] 必须
  • 最大列表长度:999
  • 订单集合
    • └ merchantOrderNo
    • String
    • 必须
    • 10154534545
    • 业务订单号
    • └ orderDate
    • String
    • 可选
    • 2020-02-22 15:23:56
    • 下单时间,非必填,为空取当前时间
    • └ payMethod
    • String
    • 必须
    • 1
    • 付款方式:1-寄付,2-到付,3-转第三方付
    • └ expressType
    • String
    • 必须
    • 1
    • 使用的顺丰产品类型,如:标快
    • └ patientName
    • String
    • 可选
    • 小白
    • 患者姓名
    • └ patientPhone
    • String
    • 可选
    • 15986611111
    • 患者电话
    • └ patientIdentityCardNo
    • String
    • 可选
    • 411081199102200000
    • 患者身份证号
    • └ srcName
    • String
    • 必须
    • 李白
    • 寄件人姓名
    • └ srcPhone
    • String
    • 必须
    • 15986611111
    • 寄件人电话
    • └ srcProvince
    • String
    • 必须
    • 广东省
    • 寄件人省份
    • └ srcCity
    • String
    • 必须
    • 深圳市
    • 寄件人城市
    • └ srcDistrict
    • String
    • 必须
    • 南山区
    • 寄件人镇/区
    • └ srcAddress
    • String
    • 必须
    • 软件产业基地1B
    • 寄件人详细地址
    • └ srcCompany
    • String
    • 可选
    • 顺丰科技
    • 寄件公司
    • └ destName
    • String
    • 必须
    • 杜甫
    • 收件人姓名
    • └ destPhone
    • String
    • 必须
    • 15986612222
    • 收件人电话
    • └ destProvince
    • String
    • 必须
    • 北京市
    • 收件人省份
    • └ destCity
    • String
    • 必须
    • 北京市
    • 收件人城市
    • └ destDistrict
    • String
    • 必须
    • 昌平区
    • 收件人镇区
    • └ destAddress
    • String
    • 必须
    • 平西王府
    • 收件人详细地址
    • └ parcelWeighs
    • String
    • 可选
    • 3.456
    • 包裹重量(KG),精确到小数点后3位
    • └ packagesNo
    • String
    • 可选
    • 1
    • 默认值:1
    • 件数
    • └ depositumInfo
    • String
    • 必须
    • 鞋子
    • 寄托物名称
    • └ depositumNo
    • String
    • 可选
    • 1
    • 默认值:1
    • 寄托物数量
    • └ remark
    • String
    • 可选
    • 易碎物品
    • 备注
    • └ monthlyCard
    • String
    • 可选
    • 7551234567
    • 月结卡号(月结必填)
    • └ statementValue
    • String
    • 可选
    • 100000
    • 声明价值(分)
    • └ packStandardMoney
    • String
    • 可选
    • 200000
    • 标准包装金额(分)
    • └ packIndividuationMoney
    • String
    • 可选
    • 300000
    • 个性化包装金额(分)
    • └ collectionMoney
    • String
    • 可选
    • 400000
    • 代收金额(分)
    • └ collectionNo
    • String
    • 可选
    • 123456789
    • 代收卡号
    • └ csimPrintInfo
    • String
    • 可选
    • 面单信息,用于菜鸟插件打印
    • 面单打印信息
    • └ productCode
    • String
    • 必须
    • HD000002
    • 产品编码
    • └ esignPictureType
    • Number
    • 可选
    • 12
    • 非空表示使用电子签收回调服务,固定值12
    • └ needTemperatureMonitoring
    • Number
    • 可选
    • 1
    • 是否使用温度追溯(实时)服务0不使用(默认),1使用
    • └ needTemperatureRetrospect
    • Number
    • 可选
    • 0
    • 是否使用温度追溯(离线)服务0不使用(默认),1使用
    hospitalCode String 必须 HD000002 业务编号

    响应参数

    名称 类型 示例值 描述
    success Boolean true 响应结果
    errorMsg String 请求成功 响应信息
    errorCode String SUCCESS 响应编码
    result Results 结果集合
    • └ failResult
    • String []
    • 失败结果集合
    • └ successResult
    • String []
    • 成功结果集合

    请求示例

    {"ver":"1.0","orderThirds":[{"srcName":"李白","destName":"杜甫","depositumNo":"1","needTemperatureMonitoring":1,"remark":"易碎物品","srcProvince":"广东省","srcCompany":"顺丰科技","packIndividuationMoney":"300000","payMethod":"1","destAddress":"平西王府","packStandardMoney":"200000","parcelWeighs":"3.456","csimPrintInfo":"面单信息,用于菜鸟插件打印","srcPhone":"15986611111","patientName":"小白","destDistrict":"昌平区","destPhone":"15986612222","depositumInfo":"鞋子","esignPictureType":12,"expressType":"1","srcCity":"深圳市","destCity":"北京市","needTemperatureRetrospect":0,"srcDistrict":"南山区","srcAddress":"软件产业基地1B","statementValue":"100000","merchantOrderNo":"10154534545","patientPhone":"15986611111","destProvince":"北京市","packagesNo":"1","productCode":"HD000002","patientIdentityCardNo":"411081199102200000","collectionMoney":"400000","monthlyCard":"7551234567","collectionNo":"123456789","orderDate":"2020-02-22 15:23:56"}],"hospitalCode":"HD000002","ts":0}

    响应示例

    {
        "success":true,
        "errorMsg":"请求成功",
        "errorCode":"SUCCESS",
        "result":{
        }
    }

    验签示例

    {"success":"false","errorCode":"sign-check-failure","errorMsg":"Illegal request"}

    错误码解释

    错误码 错误描述 解决方案

    API工具

    FAQ

    返回
    顶部