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

alibaba.ascp.industry.supplier.logistics.verify (大件取退-核码)

大件取退-核码

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
reverse_fulfil_verify_request ReverseFulfilVerifyRequest 必须 请求对象
  • └ mail_no
  • String
  • 必须
  • SF1000001
  • 逆向运单号
  • └ order_id
  • String
  • 必须
  • 20250401321134
  • 订单号,用于幂等
  • └ operate_time
  • String
  • 必须
  • 1659080423659
  • 操作时间戳
  • └ got_code
  • String
  • 必须
  • 1234
  • 核销码
  • └ feature
  • String
  • 可选
  • {"serviceType": 0}
  • 扩展属性

响应参数

名称 类型 示例值 描述
result BaseResult 请求响应
  • └ result
  • Boolean
  • ture
  • 返回结果对象
  • └ msg
  • String
  • "调用成功"
  • 通常用于success的信息提示
  • └ success
  • Boolean
  • true
  • 请求是否成功
  • └ error_code
  • String
  • ERROR_001
  • 通常用于success为false时的页面错误码
  • └ biz_exception
  • Boolean
  • false
  • 是否为业务异常
  • └ error_msg
  • String
  • 系统错误
  • 通常用于success为false时的页面错误信息

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAscpIndustrySupplierLogisticsVerifyRequest req = new AlibabaAscpIndustrySupplierLogisticsVerifyRequest();
AlibabaAscpIndustrySupplierLogisticsVerifyRequest.ReverseFulfilVerifyRequest obj1 = new AlibabaAscpIndustrySupplierLogisticsVerifyRequest.ReverseFulfilVerifyRequest();
obj1.setMailNo("SF1000001");
obj1.setOrderId("20250401321134");
obj1.setOperateTime("1659080423659");
obj1.setGotCode("1234");
obj1.setFeature("{\"serviceType\": 0}");
req.setReverseFulfilVerifyRequest(obj1);
AlibabaAscpIndustrySupplierLogisticsVerifyResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_ascp_industry_supplier_logistics_verify_response>
    <result>
        <result>ture</result>
        <msg>&quot;调用成功&quot;</msg>
        <success>true</success>
        <error_code>ERROR_001</error_code>
        <biz_exception>false</biz_exception>
        <error_msg>系统错误</error_msg>
    </result>
</alibaba_ascp_industry_supplier_logistics_verify_response>

异常示例

  • XML示例
  • JSON示例
<error_response>
    <code>50</code>
    <msg>Remote service error</msg>
    <sub_code>isv.invalid-parameter</sub_code>
    <sub_msg>非法参数</sub_msg>
</error_response>

错误码解释

错误码 错误描述 解决方案

API工具

如何获得此API

FAQ

返回
顶部