taobao.paimai.pmp.identify.apply.returnbycustomize (机构自定义退货)

机构自定义退货

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
confirm_return_by_customize_topapi_req ConfirmReturnByCustomizeTopapiReq 必须 confirmReturnByCustomizeTopapiReq
  • └ sub_biz_order_id
  • Number
  • 可选
  • 831839181389
  • 子订单Id
  • └ apply_id_list
  • Number []
  • 可选
  • [1213, 12121]
  • 批量发货applyId
  • └ logistics_company_code
  • String
  • 可选
  • SF
  • 快速公司 SF/顺丰速运 DBKD/德邦快递 EMS/中国邮政速递 STO/申通速递 YTO/圆通速递 YUNDA/韵达快递 ZTO/中通速递
  • └ logistics_num
  • String
  • 可选
  • SF803180318
  • 快递号有参数校验
  • └ institution_id
  • Number
  • 必须
  • 31930180318
  • 机构ID

响应参数

名称 类型 示例值 描述
result_code String SERVICE_ERROR 错误编码
message String 服务出错 错误信息

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
PaimaiPmpIdentifyApplyReturnbycustomizeRequest req = new PaimaiPmpIdentifyApplyReturnbycustomizeRequest();
PaimaiPmpIdentifyApplyReturnbycustomizeRequest.ConfirmReturnByCustomizeTopapiReq obj1 = new PaimaiPmpIdentifyApplyReturnbycustomizeRequest.ConfirmReturnByCustomizeTopapiReq();
obj1.setSubBizOrderId(831839181389L);
obj1.setApplyIdList(new Long[] { 1213, 12121 };
);
obj1.setLogisticsCompanyCode("SF");
obj1.setLogisticsNum("SF803180318");
obj1.setInstitutionId(31930180318L);
req.setConfirmReturnByCustomizeTopapiReq(obj1);
PaimaiPmpIdentifyApplyReturnbycustomizeResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<paimai_pmp_identify_apply_returnbycustomize_response>
    <result_code>SERVICE_ERROR</result_code>
    <message>服务出错</message>
</paimai_pmp_identify_apply_returnbycustomize_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

返回
顶部