aliexpress.local.logistics.report.shipped (report as shipped)

report as shipped

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
param1 ReportShippedRequestDTO 必须 param
  • report_shipped_list
  • ReportShippedDTO []
  • 必须
  • report shipped list
  • └ logistics_order_id
  • String
  • 必须
  • BP10000000015003
  • shipment order id
  • └ shipped_type
  • String
  • 必须
  • "null" or "all" or "part"
  • type of report dispatch

响应参数

名称 类型 示例值 描述
data ReportShippedDTO [] response info
  • └ logistics_order_id
  • String
  • BP10000000015003
  • shipment order id
  • └ shipped_type
  • String
  • "null" or "all" or "part"
  • type of report dispatch-Status including: all shipments (all), part of the delivery (part)
is_success Boolean success is success
error_result_message String error error message
error_result_code String error_001 error code

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AliexpressLocalLogisticsReportShippedRequest req = new AliexpressLocalLogisticsReportShippedRequest();
AliexpressLocalLogisticsReportShippedRequest.ReportShippedRequestDTO obj1 = new AliexpressLocalLogisticsReportShippedRequest.ReportShippedRequestDTO();
List<AliexpressLocalLogisticsReportShippedRequest.ReportShippedDTO> list3 = new ArrayList<AliexpressLocalLogisticsReportShippedRequest.ReportShippedDTO>();
AliexpressLocalLogisticsReportShippedRequest.ReportShippedDTO obj4 = new AliexpressLocalLogisticsReportShippedRequest.ReportShippedDTO();
list3.add(obj4);
obj4.setLogisticsOrderId("BP10000000015003");
obj4.setShippedType("\"null\" or \"all\" or \"part\"");
obj1.setReportShippedList(list3);
req.setParam1(obj1);
AliexpressLocalLogisticsReportShippedResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<aliexpress_local_logistics_report_shipped_response>
    <data>
        <report_shipped_d_t_o>
            <logistics_order_id>BP10000000015003</logistics_order_id>
            <shipped_type>&quot;null&quot; or &quot;all&quot; or &quot;part&quot;</shipped_type>
        </report_shipped_d_t_o>
    </data>
    <is_success>success</is_success>
    <error_result_message>error</error_result_message>
    <error_result_code>error_001</error_result_code>
</aliexpress_local_logistics_report_shipped_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

返回
顶部