文档中心 > API类目 > 全球速卖通-物流管理

aliexpress.logistics.sellershipmentfortop (声明发货接口)

填写发货通知

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
logistics_no String 必须 LA88887777CN 国际运单号
description String 可选 memo memo
send_type String 必须 part 声明发货类型,all表示全部发货,part表示部分声明发货。
out_ref String 必须 888877779999 交易订单号
tracking_website String 可选 www.17track.com 追踪网址
service_name String 必须 EMS 物流服务名称
package_type String 可选 consolidation 包裹类型
actual_carrier String 可选 tnt 实际承运商
ioss String 可选 XX1234567890 ioss税号
locale String 可选 es_ES 多语言,es_ES西班牙语, pt_BR巴西

响应参数

名称 类型 示例值 描述
result_error_desc String System error! errorDesc
result_error_code String -1 errorCode
result_success Boolean true result

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AliexpressLogisticsSellershipmentfortopRequest req = new AliexpressLogisticsSellershipmentfortopRequest();
req.setLogisticsNo("LA88887777CN");
req.setDescription("memo");
req.setSendType("part");
req.setOutRef("888877779999");
req.setTrackingWebsite("www.17track.com");
req.setServiceName("EMS");
req.setPackageType("consolidation");
req.setActualCarrier("tnt");
req.setIoss("XX1234567890");
req.setLocale("es_ES");
AliexpressLogisticsSellershipmentfortopResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<aliexpress_logistics_sellershipmentfortop_response>
    <result_error_desc>System error!</result_error_desc>
    <result_error_code>-1</result_error_code>
    <result_success>true</result_success>
</aliexpress_logistics_sellershipmentfortop_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

返回
顶部