查询类目Featrue属性值
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
cid | Number | 必须 | 235345 | 类目ID | |
attr_keys | String | 必须 | item_must_image | 属性的Key,支持多条,以“,”分隔 h_videoshow(该类目是否能发视频) sameProductLimit(该类目下产品限制) cod(该类目下是否货到付款) auto_fill(该类目是否卖家代充) item_must_image(该类目下的商品是否是主图必传)…… |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
features | Feature [] | Feature对象列表 | |
|
1 2 3 4 5 6 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); ItemcatFeaturesGetRequest req = new ItemcatFeaturesGetRequest(); req.setCid(235345L); req.setAttrKeys( "item_must_image" ); ItemcatFeaturesGetResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 | < itemcat_features_get_response > < features > < feature > < attr_key >1234</ attr_key > < attr_value >2342</ attr_value > </ feature > </ features > </ itemcat_features_get_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 > |
错误码 | 错误描述 | 解决方案 |
---|