Allows to get list of orders
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
client_time_zone | String | 可选 | GMT+03:00 | Time zone | |
client_type | String | 可选 | Android | Client type | |
currency | String | 可选 | RUB | Currency | |
locale | String | 可选 | ru_RU | Locale | |
page | Number | 可选 | 0 | Page |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | OpenApiResult | - | result |
|
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AliexpressSocialShoppingOrderListRequest req = new AliexpressSocialShoppingOrderListRequest(); req.setClientTimeZone("GMT+03:00"); req.setClientType("Android"); req.setCurrency("RUB"); req.setLocale("ru_RU"); req.setPage(0L); AliexpressSocialShoppingOrderListResponse rsp = client.execute(req, sessionKey); System.out.println(rsp.getBody());
<aliexpress_social_shopping_order_list_response> <result> <error_code>-</error_code> <error_message>-</error_message> <result> <current_page>1</current_page> <has_next_page>true</has_next_page> <order_view_list> <order_dto> <can_additional_eval>false</can_additional_eval> <can_cancel>false</can_cancel> <can_confirm_received>false</can_confirm_received> <can_delete>false</can_delete> <can_evaluate>false</can_evaluate> <can_extend>false</can_extend> <can_invite_friends>false</can_invite_friends> <can_not_pay_hint>false</can_not_pay_hint> <can_pay>false</can_pay> <can_resume>false</can_resume> <can_tracking>false</can_tracking> <carrioperator>null</carrioperator> <country>RU</country> <end_reason>-</end_reason> <gmt_over_time>0</gmt_over_time> <gmt_trade_create>1587475712754</gmt_trade_create> <mars_url>-</mars_url> <mobile_n_o>-</mobile_n_o> <order_amount>-</order_amount> <order_count>-</order_count> <order_currency>-</order_currency> <order_id>5003730266722229</order_id> <order_signature>-</order_signature> <order_status>-</order_status> <over_left_time>0</over_left_time> <reminder_copywriting>-</reminder_copywriting> <shop_number>-</shop_number> <show_status>-</show_status> <sub_list> <sub_order_dto> <can_additional_eval>-</can_additional_eval> <issue_status>-</issue_status> <parent_id>-</parent_id> <product_count>-</product_count> <product_id>32896335893</product_id> <product_name>OnlyOilPrice70</product_name> <product_sku_list> <order_product_sku_display_dto> <p_id>-</p_id> <p_name>-</p_name> <p_value>-</p_value> <p_value_id>-</p_value_id> <order>-</order> <property_id>-</property_id> <property_name>-</property_name> <property_value>-</property_value> <property_value_id>-</property_value_id> <self_define_value>-</self_define_value> </order_product_sku_display_dto> </product_sku_list> <small_photo_full_path>https://ae01.alicdn.com/kf/U03e0b70aa46b4972a2d46d586b99c1792.jpg_220x220.jpg</small_photo_full_path> <snapshot_id>-</snapshot_id> <sub_order_id>-</sub_order_id> <sub_order_status>-</sub_order_status> <warranty_type_name>-</warranty_type_name> </sub_order_dto> </sub_list> <cashier_request_token>-</cashier_request_token> </order_dto> </order_view_list> <page_size>20</page_size> <pre_sale_order_count>20</pre_sale_order_count> <time_zone>GMT+03:00</time_zone> <time_zone_offset_of_minutes>0</time_zone_offset_of_minutes> <total_num>100</total_num> </result> <success>true</success> </result> </aliexpress_social_shopping_order_list_response>
<error_response> <code>50</code> <msg>Remote service error</msg> <sub_code>isv.invalid-parameter</sub_code> <sub_msg>非法参数</sub_msg> </error_response>
错误码 | 错误描述 | 解决方案 |
---|