文档中心 > API类目 > AE-奇门API

qimen.aliexpress.logistics.qureywlbdomesticlogisticscompany (获取开展国内物流业务的物流公司)

创建线上发货物流订单时,若卖家选择自寄到仓库,需要填写使用的国内物流公司,此接口返回平台支持的国内物流公司信息。

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
id String 必须 cn12343523 卖家登录的login_id

响应参数

名称 类型 示例值 描述
result_list AeopWlDomesticLogisticsCompanyDTO [] 国内物流方式信息
  • └ company_code
  • String
  • YTO
  • 物流公司编码
  • └ company_id
  • Number
  • 101
  • 物流公司ID
  • └ name
  • String
  • 圆通速递
  • 物流公司名称
error_desc String System error 调用报错信息
result_success Boolean true 调用是否成功
error_code String invalid-request 错误码

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
QimenCloudClient client = new DefaultQimenCloudClient(url, appkey, secret);
AliexpressLogisticsQureywlbdomesticlogisticscompanyRequest req = new AliexpressLogisticsQureywlbdomesticlogisticscompanyRequest();
req.setId("cn12343523");
AliexpressLogisticsQureywlbdomesticlogisticscompanyResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<result_list>
    <aeop_wl_domestic_logistics_company_d_t_o>
        <company_code>YTO</company_code>
        <company_id>101</company_id>
        <name>圆通速递</name>
    </aeop_wl_domestic_logistics_company_d_t_o>
</result_list>
<error_desc>System error</error_desc>
<result_success>true</result_success>
<error_code>invalid-request</error_code>

异常示例

  • 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

返回
顶部