感谢您的反馈!
查询订单列表。如果要使用modify作为查询条件,需要加上createdate控制查询范围。可查询时间范围;默认180天,查询已结束订单为30天。
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
param_aeop_order_query | AeopOrderQuery | 可选 | 入参 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | AeopPageResultDto | 1 | 出参 |
|
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AliexpressTradeSellerOrderlistGetRequest req = new AliexpressTradeSellerOrderlistGetRequest(); AliexpressTradeSellerOrderlistGetRequest.AeopOrderQuery obj1 = new AliexpressTradeSellerOrderlistGetRequest.AeopOrderQuery(); obj1.setBuyerLoginId("test"); obj1.setCreateDateEnd("2017-10-12 12:12:12"); obj1.setCreateDateStart("2017-10-12 12:12:12"); obj1.setCurrentPage(1L); obj1.setModifiedDateEnd("2017-10-12 12:12:12"); obj1.setModifiedDateStart("2017-10-12 12:12:12"); obj1.setOrderStatus("SELLER_PART_SEND_GOODS"); obj1.setOrderStatusList("SELLER_PART_SEND_GOODS"); obj1.setPageSize(20L); req.setParamAeopOrderQuery(obj1); AliexpressTradeSellerOrderlistGetResponse rsp = client.execute(req, sessionKey); System.out.println(rsp.getBody());
<aliexpress_trade_seller_orderlist_get_response> <result> <current_page>1</current_page> <error_code>1</error_code> <error_message>1</error_message> <page_size>1</page_size> <success>true</success> <target_list> <aeop_order_item_dto> <biz_type>AE_RECHARGE</biz_type> <buyer_login_id>test</buyer_login_id> <buyer_signer_fullname>test</buyer_signer_fullname> <end_reason>buyer_confirm_goods</end_reason> <escrow_fee> <amount>1.01</amount> <currency_code>USD</currency_code> </escrow_fee> <escrow_fee_rate>1</escrow_fee_rate> <frozen_status>IN_FROZEN</frozen_status> <fund_status>WAIT_SELLER_CHECK</fund_status> <gmt_create>2017-10-12 12:12:12</gmt_create> <gmt_pay_time>2017-10-12 12:12:12</gmt_pay_time> <gmt_send_goods_time>2017-10-12 12:12:12</gmt_send_goods_time> <gmt_update>2017-10-12 12:12:12</gmt_update> <has_request_loan>false</has_request_loan> <issue_status>END_ISSUE</issue_status> <left_send_good_day>1</left_send_good_day> <left_send_good_hour>1</left_send_good_hour> <left_send_good_min>100</left_send_good_min> <loan_amount> <amount>1.01</amount> <currency_code>USD</currency_code> </loan_amount> <logisitcs_escrow_fee_rate>1</logisitcs_escrow_fee_rate> <logistics_status>NO_LOGISTICS</logistics_status> <order_detail_url>http</order_detail_url> <order_id>1160045860056286</order_id> <order_status>PLACE_ORDER_SUCCESS</order_status> <pay_amount> <amount>1.01</amount> <currency_code>USD</currency_code> </pay_amount> <payment_type>ebanx101</payment_type> <phone>false</phone> <product_list> <aeop_order_product_dto> <afflicate_fee_rate>0.03</afflicate_fee_rate> <buyer_signer_first_name>1</buyer_signer_first_name> <buyer_signer_last_name>1</buyer_signer_last_name> <can_submit_issue>false</can_submit_issue> <child_id>23457890</child_id> <delivery_time>5-10</delivery_time> <escrow_fee_rate>0.01</escrow_fee_rate> <freight_commit_day>27</freight_commit_day> <fund_status>WAIT_SELLER_CHECK</fund_status> <goods_prepare_time>3</goods_prepare_time> <issue_mode>w</issue_mode> <issue_status>END_ISSUE</issue_status> <logistics_amount> <amount>1.01</amount> <currency_code>USD</currency_code> </logistics_amount> <logistics_service_name>EMS</logistics_service_name> <logistics_type>EMS</logistics_type> <memo>1</memo> <money_back3x>false</money_back3x> <order_id>222222</order_id> <product_count>1</product_count> <product_id>2356980</product_id> <product_img_url>http://g03.a.alicdn.com/kf/images/eng/no_photo.gif</product_img_url> <product_name>mobile</product_name> <product_snap_url>http://www.aliexpress.com:1080/snapshot/null.html?orderId\u003d1160045860056286</product_snap_url> <product_standard></product_standard> <product_unit>piece</product_unit> <product_unit_price> <amount>1.01</amount> <currency_code>USD</currency_code> </product_unit_price> <send_goods_operator>WAREHOUSE_SEND_GOODS</send_goods_operator> <send_goods_time>2017-10-12 12:12:12</send_goods_time> <show_status>PLACE_ORDER_SUCCESS</show_status> <sku_code>12</sku_code> <son_order_status>PLACE_ORDER_SUCCESS</son_order_status> <total_product_amount> <amount>1</amount> <currency_code>USD</currency_code> </total_product_amount> <tags> <string>AE_PLUS_RU</string> </tags> </aeop_order_product_dto> </product_list> <seller_login_id>cn1234</seller_login_id> <seller_operator_login_id>cn1234</seller_operator_login_id> <seller_signer_fullname>cn1234</seller_signer_fullname> <timeout_left_time>120340569</timeout_left_time> </aeop_order_item_dto> </target_list> <time_stamp>1</time_stamp> <total_count>1</total_count> <total_page>1</total_page> </result> </aliexpress_trade_seller_orderlist_get_response>
<error_response> <code>50</code> <msg>Remote service error</msg> <sub_code>isv.invalid-parameter</sub_code> <sub_msg>非法参数</sub_msg> </error_response>
错误码 | 错误描述 | 解决方案 |
---|---|---|
40104 | 日期格式错误,请输入yyyy-MM-dd hh:MM:ss格式 | 日期格式错误,请输入yyyy-MM-dd hh:MM:ss格式 |
40106 | 创建时间和最后修改时间不能同时为空 | 创建时间和最后修改时间不能同时为空 |
40107 | 创建时间查询范围大于允许值 | 创建时间查询范围大于允许值 |
40002 | 该应用因为不合理使用本接口,已被列入黑名单,请联系管理员 | 该应用因为不合理使用本接口,已被列入黑名单,请联系管理员 |
isp.50001 | 系统错误,请联系管理员 | 系统错误,请联系管理员 |
40001 | 参数错误 | 参数错误 |