本地联盟饿了么评价有礼店铺列表(滚动列表,相同session_id请求随请求次数自动翻页)
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
page_size | Number | 可选 | 20 | 每页数量(1~20,默认20) | |
session_id | String | 可选 | 8497813e6deb4bddac841aca76e3bf8a | 会话ID(分页场景首次请求结果返回,后续请求必须携带,服务根据同一个session_id的请求次数自动叠加翻页返回数据,直至分页结束,返回空) | |
pid | String | 必须 | alsc_xxx_xxx_xxx | 渠道PID | |
longitude | String | 必须 | 113.562976 | 经度 | |
latitude | String | 必须 | 22.123043 | 纬度 | |
sort_type | String | 可选 | normal | 排序类型,默认normal,排序规则包括:{"normal":"佣金倒序","distance_asc":"距离由近到远","commission_desc":"佣金倒序","month_sales_desc":"月销量从高到低","commission_rate_desc":"佣金比例倒序", "activity_reward_desc":"返现金额倒序"} | |
min_commission_rate | String | 可选 | 0.01 | 店铺佣金比例下限,代表筛选店铺全店佣金大于等于0.01的店铺 | |
sid | String | 可选 | 1111 | 三方扩展id | |
filter_first_categories | String | 可选 | xxx,xxx | 以一级类目进行类目限定,以,或者|进行类目分隔 | |
filter_one_point_five_categories | String | 可选 | 3131|xxx|xxx | 1.5级类目查询,以"|"分隔 | |
filter_city_id | String | 可选 | 310100 | 城市ID(经纬度范围覆盖多个城市时,精准召回) | |
search_content | String | 可选 | 汉堡王 | 搜索内容(店铺名) | |
exclude_link | Boolean | 可选 | true |
|
false-返回链接,true-不返回链接;8.1号及以后该属性移除,默认不返回链接 |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
data | PageModel | {} | 分页数据 |
|
|||
biz_error_code | String | 0 | 错误码 |
biz_error_message | String | xxx不正确 | 错误消息 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlibabaAlscUnionElemeStorepromotionReviewbwcQueryRequest req = new AlibabaAlscUnionElemeStorepromotionReviewbwcQueryRequest(); req.setPageSize(20L); req.setSessionId( "8497813e6deb4bddac841aca76e3bf8a" ); req.setPid( "alsc_xxx_xxx_xxx" ); req.setLongitude( "113.562976" ); req.setLatitude( "22.123043" ); req.setSortType( "normal" ); req.setMinCommissionRate( "0.01" ); req.setSid( "1111" ); req.setFilterFirstCategories( "xxx,xxx" ); req.setFilterOnePointFiveCategories( "3131|xxx|xxx" ); req.setFilterCityId( "310100" ); req.setSearchContent( "汉堡王" ); req.setExcludeLink( true ); AlibabaAlscUnionElemeStorepromotionReviewbwcQueryResponse 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 | < alibaba_alsc_union_eleme_storepromotion_reviewbwc_query_response > < data > < session_id >8497813e6deb4bddac841aca76e3bf8a</ session_id > < records > < review_bwc_store_promotion_dto > < shop_id >DAD123E1ADDA</ shop_id > < shop_name >淘客连锁店铺2(分店名)</ shop_name > < indistinct_monthly_sales >400+</ indistinct_monthly_sales > < category_1_id >260</ category_1_id > < category_1_name >全球美食</ category_1_name > < delivery_distance >105</ delivery_distance > < delivery_time >34</ delivery_time > < delivery_price_cent >400</ delivery_price_cent > < service_rating >4.6</ service_rating > < link > < wx_appid >wxxxxxxxx</ wx_appid > < wx_path >xsxxxxxx</ wx_path > </ link > < activities > < review_bwc_activity > < activity_id >131</ activity_id > < start_time >1639122622</ start_time > < end_time >1639122622</ end_time > < daily_stock >123</ daily_stock > < daily_remain_stock >12</ daily_remain_stock > < reward_cent >100</ reward_cent > < reward_threshold_cent >1000</ reward_threshold_cent > < commission_rate >0.2</ commission_rate > < commission >1345</ commission > </ review_bwc_activity > </ activities > </ review_bwc_store_promotion_dto > </ records > </ data > < biz_error_code >0</ biz_error_code > < biz_error_message >xxx不正确</ biz_error_message > </ alibaba_alsc_union_eleme_storepromotion_reviewbwc_query_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 > |
错误码 | 错误描述 | 解决方案 |
---|