qimen.aliexpress.logistics.sellermodifiedshipmentfortop (修改声明发货)

修改声明发货

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
id String 必须 cn12343523 卖家登录的login_id
new_logistics_no String 必须 LA11111111CN 新运单号
tracking_website String 可选 www.17track.com 追踪网址
send_type String 必须 all 状态包括:全部发货(all)、部分发货(part)
out_ref String 必须 60769040695804 交易订单号
old_service_name String 必须 EMS 用户需要修改的的老的发货物流服务
description String 可选 memo 描述
package_type String 可选 consolidation 包裹类型
new_service_name String 必须 EMS 新的发货物流服务
old_logistics_no String 必须 LA111166611CN 旧的运单号
actual_carrier String 可选 china-post 实际承运商

响应参数

名称 类型 示例值 描述
result_error_desc String System error 调用出错信息
result_error_code String -1 调用出错码
result_success Boolean true 调用是否成功

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
QimenCloudClient client = new DefaultQimenCloudClient(url, appkey, secret);
AliexpressLogisticsSellermodifiedshipmentfortopRequest req = new AliexpressLogisticsSellermodifiedshipmentfortopRequest();
req.setId("cn12343523");
req.setNewLogisticsNo("LA11111111CN");
req.setTrackingWebsite("www.17track.com");
req.setSendType("all");
req.setOutRef("60769040695804");
req.setOldServiceName("EMS");
req.setDescription("memo");
req.setPackageType("consolidation");
req.setNewServiceName("EMS");
req.setOldLogisticsNo("LA111166611CN");
req.setActualCarrier("china-post");
AliexpressLogisticsSellermodifiedshipmentfortopResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<result_error_desc>System error</result_error_desc>
<result_error_code>-1</result_error_code>
<result_success>true</result_success>

异常示例

  • 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

返回
顶部