Suggest product categories by title and image.
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
title | String | 必须 | Kit Com 2 Pijamas Infantil Menina De Algodão Atacado Revenda | product title | |
language | String | 必须 | pt_BR | language | |
image_url | String | 可选 | https://ae01.alicdn.com/kf/S19d428d59d91446ba657d2a4359d4a67J.png | product main image |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
suggest_category_list | SuggestCategory [] | suggest category list, order by priority | |
|
1 2 3 4 5 6 7 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AliexpressSolutionProductCategorySuggestRequest req = new AliexpressSolutionProductCategorySuggestRequest(); req.setTitle( "Kit Com 2 Pijamas Infantil Menina De Algodão Atacado Revenda" ); req.setLanguage( "pt_BR" ); AliexpressSolutionProductCategorySuggestResponse rsp = client.execute(req, sessionKey); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 | < aliexpress_solution_product_category_suggest_response > < suggest_category_list > < suggest_category > < name >Shirt</ name > < id >348</ id > </ suggest_category > </ suggest_category_list > </ aliexpress_solution_product_category_suggest_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 > |
错误码 | 错误描述 | 解决方案 |
---|