AE联盟推广者订单按游标查询接口
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
start_time | String | 必须 | 2019-08-14 00:00:00 | 开始时间 | |
start_query_index_id | String | 可选 | 11111_2222_222 | 查询索引开始值:若不传,则只能查第一页 | |
end_time | String | 必须 | 2019-08-15 00:00:00 | 结束时间 | |
status | String | 必须 | Payment Completed | 订单状态:Payment Completed,Buyer Confirmed Receipt | |
page_size | Number | 可选 | 50 |
|
每页记录数 |
fields | String | 可选 | commission_rate,created_time | 返回的字段信息 | |
app_signature | String | 可选 | aaaaa | 安全签名 |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
resp_result | ResponseDto | resp_result | 返回结果 |
|
1 2 3 4 5 6 7 8 9 10 11 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AliexpressAffiliateOrderListbyindexRequest req = new AliexpressAffiliateOrderListbyindexRequest(); req.setStartTime( "2019-08-14 00:00:00" ); req.setStartQueryIndexId( "11111_2222_222" ); req.setEndTime( "2019-08-15 00:00:00" ); req.setStatus( "Payment Completed" ); req.setPageSize(50L); req.setFields( "commission_rate,created_time" ); req.setAppSignature( "aaaaa" ); AliexpressAffiliateOrderListbyindexResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | < aliexpress_affiliate_order_listbyindex_response > < resp_result > < resp_code >200</ resp_code > < resp_msg >success</ resp_msg > < result > < current_record_count >50</ current_record_count > < orders > < order > < order_id >3333333</ order_id > < sub_order_id >222222</ sub_order_id > < tracking_id >trackingId</ tracking_id > < category_id >111111</ category_id > < is_hot_product >N</ is_hot_product > < effect_detail_status >FullRefund</ effect_detail_status > < incentive_commission_rate >1%</ incentive_commission_rate > < estimated_incentive_paid_commission >10</ estimated_incentive_paid_commission > < estimated_incentive_finished_commission >10</ estimated_incentive_finished_commission > < is_affiliate_product >N</ is_affiliate_product > < order_type >global</ order_type > < order_status >Payment Completed</ order_status > < created_time >2019-08-15 00:00:00</ created_time > < commission_rate >3.5%</ commission_rate > < paid_amount >1000</ paid_amount > < paid_time >2019-08-15 00:00:00</ paid_time > < estimated_paid_commission >1111</ estimated_paid_commission > < finished_amount >1000</ finished_amount > < finished_time >2019-08-15 00:00:00</ finished_time > < estimated_finished_commission >1111</ estimated_finished_commission > < is_new_buyer >Y</ is_new_buyer > < settled_currency >USD</ settled_currency > < custom_parameters >{"af":0,"dp":1111}</ custom_parameters > < new_buyer_bonus_commission >30</ new_buyer_bonus_commission > < product_id >22222223333</ product_id > < product_title >Apple iPhone XS Max</ product_title > < product_main_image_url >https://ae01.alicdn.com/kf/HTB1tyl7bELrK1Rjy0Fjq6zYXFXaC/Spring-Autumn-mother-daughter-dress-matching-family-outfits-mother-kids-dress-matching-outfits-flamingo-embroidery-1.jpg</ product_main_image_url > < product_count >1</ product_count > < ship_to_country >RU</ ship_to_country > </ order > </ orders > < max_query_index_id >11111_2222_222</ max_query_index_id > < min_query_index_id >11111_2222_111</ min_query_index_id > </ result > </ resp_result > </ aliexpress_affiliate_order_listbyindex_response > |
1 2 3 4 5 6 | < error_response > < code >50</ code > < msg >Remote service error</ msg > < sub_code >isv.invalid-parameter</ sub_code > < sub_msg >非法参数</ sub_msg > </ error_response > |
错误码 | 错误描述 | 解决方案 |
---|