类目预测,根据商品标题预测商品的叶子类目,可以刷选已经通过准入申请的类目
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
subject | String | 可选 | elle+sport+sujetador+deportivo+gunn+rosa | 商品标题 | |
locale | String | 可选 | es |
|
商品标题语言:en,ru,pt,id,es,fr,it,de,nl,tr,he,ja,ar,th,vi,ko,pl 默认为es |
forecast_mode | String | 可选 | 1 |
|
预测模式=1,精准预测; 模式=2,模糊预测;不填写时,默认为1 |
is_filter_by_permission | String | 可选 | N |
|
是否过滤类目准入权限N=不过滤|Y=过滤,不填写时,默认为N |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | AeopCategoryForecastResultDto | result | |
|
1 2 3 4 5 6 7 8 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AliexpressPostproductRedefiningCategoryforecastRequest req = new AliexpressPostproductRedefiningCategoryforecastRequest(); req.setSubject( "elle+sport+sujetador+deportivo+gunn+rosa" ); req.setLocale( "es" ); req.setForecastMode( "1" ); req.setIsFilterByPermission( "N" ); AliexpressPostproductRedefiningCategoryforecastResponse rsp = client.execute(req, sessionKey); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 9 10 11 | < aliexpress_postproduct_redefining_categoryforecast_response > < result > < error_message >The result of dii is empty. It should have a correct JSON format data return.</ error_message > < category_suitability_list > < json ></ json > </ category_suitability_list > < time_stamp >20181101111211</ time_stamp > < error_code >24000011</ error_code > < success >true</ success > </ result > </ aliexpress_postproduct_redefining_categoryforecast_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 > |
错误码 | 错误描述 | 解决方案 |
---|