编辑商品的类目属性,用给定的类目属性覆盖原有的类目属性。(试用)
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
product_id | Number | 可选 | 1706468951 | 产品的ID | |
product_category_attributes | AeopAeProductProperty [] | 可选 |
|
类目属性信息 | |
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | AeopModifyProductResponse | 0 | result |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AliexpressPostproductRedefiningEditproductcategoryattributesRequest req = new AliexpressPostproductRedefiningEditproductcategoryattributesRequest(); req.setProductId(1706468951L); List<AliexpressPostproductRedefiningEditproductcategoryattributesRequest.AeopAeProductProperty> list2 = new ArrayList<AliexpressPostproductRedefiningEditproductcategoryattributesRequest.AeopAeProductProperty>(); AliexpressPostproductRedefiningEditproductcategoryattributesRequest.AeopAeProductProperty obj3 = new AliexpressPostproductRedefiningEditproductcategoryattributesRequest.AeopAeProductProperty(); list2.add(obj3); obj3.setAttrName( "0" ); obj3.setAttrNameId(0L); obj3.setAttrValue( "0" ); obj3.setAttrValueEnd( "0" ); obj3.setAttrValueStart( "0" ); obj3.setAttrValueUnit( "0" ); obj3.setAttrValueId(0L); req.setProductCategoryAttributes(list2); AliexpressPostproductRedefiningEditproductcategoryattributesResponse rsp = client.execute(req, sessionKey); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | < aliexpress_postproduct_redefining_editproductcategoryattributes_response > < result > < error_details > < error_detail > < error_code >0</ error_code > < product_ids > < number ></ number > </ product_ids > </ error_detail > </ error_details > < modify_count >1</ modify_count > < product_id >1724649102</ product_id > < success >true</ success > < error_code >16009999</ error_code > < error_message >系统异常!</ error_message > </ result > </ aliexpress_postproduct_redefining_editproductcategoryattributes_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 > |
错误码 | 错误描述 | 解决方案 |
---|