多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
### 编辑商品类目属性 ``` api.editProductCategoryAttributes -- version: 1 ``` ## 系统级输入参数 | 名称 | 类型 | 是否必须 | 描述 | | --- | --- | --- | --- | | _aop_timestamp | String | 否 | 请求时间戳 | | _aop_signature | String | 是 | 请求签名 | | access_token | String | 是 | 用户授权令牌 | ## 应用级输入参数 | 名称 | 类型 | 是否必须 | 描述 | 示例值 | 默认值 | | --- | --- | --- | --- | --- | --- | | productId | Long | 是 | 产品的ID | 1706468951 | | | productCategoryAttributes | [aeopAeProductPropertys[]](http://gw.api.alibaba.com/dev/doc/intl/message.htm?n=aeopAeProductPropertys&ns=aliexpress.open&t=1) | 是 | 该产品要修改的类目属性列表 | [{"attrNameId":284, "attrValueId":491}, {"attrNameId":200000137,"attrValueId":7926}, {"attrName":"Color", "attrValue":"Red"}, {"attrName":"Additional", "attrValue":"Value"}] | | ## 返回结果 | 名称 | 类型 | 是否必须 | 描述 | 示例值 | | --- | --- | --- | --- | --- | | productId | Long | 是 | 该产品的ID | 1724649102 | | modifyCount | Integer | 是 | 修改的产品数 | 1 | | success | boolean | 是 | 接口调用结果。true/false分别表示成功和失败。 | true | ## 错误码 | 错误码 | 错误描述 | 解决方案 | | --- | --- | --- | | 13001024 | 产品不存在。 | 您只能修改存在的产品。 | | 13001025 | 没有权限操作该产品。 | | | 13001028 | 该产品不能编辑。 | | | 13001029 | 该商品不能编辑,可能处于审核中。 | | | 13001030 | 该产品在活动中,不能操作。 | | | 13002004 | propertyValueId不属于对应属性下的属性值。 | | | 13002008 | propertyValueId为null。 | | | 13002009 | propertyValueDefinitionName不为空,但类目属性不允许自定义名称。 | | | 13002011 | propertyValueDefinitionName不为空,类目属性允许自定义名称,但自定义名称不符合规则。 | | | 13001041 | TBD产品不能被编辑。 | | | 13null | 拷贝主图或者详情中的图片失败。现在暂时为这个错误码,我们会在下一版中给出具体的错误码。 | |