taobao.paimai.pmp.sellidentify.apply.assign (指定二段物流)

指定二段物流

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
sub_biz_order_ids Number 必须 [831839181389] 一个主订单下的所有子订单Id
courier_firm_code String 必须 SF 指定二段物流公司Code(SF/顺丰速递,DBKD/德邦快递)
insure Boolean 可选 true 是否保价 默认true(顺丰支持https://www.sf-express.com/chn/sc/express/insurance?spm=a2129.%24spmB.0.0.1c3d761eV1729l)

响应参数

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

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
PaimaiPmpSellidentifyApplyAssignRequest req = new PaimaiPmpSellidentifyApplyAssignRequest();
req.setSubBizOrderIds([831839181389]L);
req.setCourierFirmCode("SF");
req.setInsure(true);
PaimaiPmpSellidentifyApplyAssignResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

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

返回
顶部