文档中心 > API类目 > 新零售供应链API

qimen.alibaba.ascp.industry.ecology.delivery.callback (阿里巴巴.行业.三方揽配.商家对接服务商结果回告)

获取服务商运单号并返回

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
request Request 必须 请求对象
  • └ taskId
  • String
  • 可选
  • 12345
  • 请求ID
  • └ sellerOrderCode
  • String
  • 必须
  • ERP001
  • 商家订单号
  • └ errorMassage
  • String
  • 可选
  • 下发失败原因
  • 下发失败原因
  • └ result
  • Boolean
  • 必须
  • false
  • 下发是否成功
  • waybillResult
  • WdsCollectDeliveryWaybillResult []
  • 必须
  • 返回结果
  • └ waybillType
  • Number
  • 必须
  • 1
  • 类型
  • └ waybillNo
  • String
  • 必须
  • SF001
  • 运单号
  • └ remark
  • String
  • 可选
  • OB-xxxx-xxxx
  • OB-xxxx-xxxx
  • └ cpCode
  • String
  • 必须
  • SF
  • 服务商
customerId String 必须 1001 商家id(用于路由)

响应参数

名称 类型 示例值 描述
response Response 响应
  • └ success
  • Boolean
  • false
  • 是否成功
  • └ responseMsg
  • String
  • 错误信息
  • 错误信息
  • └ responseCode
  • String
  • 1001
  • 错误码

请求示例

{"request":{"sellerOrderCode":"ERP001","result":false,"cpCode":"SF","waybillResult":[{"waybillType":1,"remark":"OB-xxxx-xxxx","waybillNo":"SF001"}],"wdsCoordinationOrderId":"BFC001","errorMassage":"下发失败原因","taskId":"12345"},"customerId":"1001"}

响应示例

{
    "response":{
        "success":false,
        "responseMsg":"错误信息",
        "responseCode":"1001"
    }
}

验签示例

{"success":"false","responseCode":"sign-check-failure","responseMsg":"Illegal request"}

错误码解释

错误码 错误描述 解决方案

API工具

FAQ

返回
顶部