上架一个或者多个商品,待上架的产品ID通过参数productIds指定,产品ID之间使用英文分号(;)隔开, 最多一次只能上架50个商品
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
product_ids | String | 可选 | 109827;109828 | 需要上架的产品id列表。可输入多个,之前用半角分号分割。 |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | AeopModifyProductResponse | 0 | result |
|
1 2 3 4 5 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AliexpressPostproductRedefiningOnlineaeproductRequest req = new AliexpressPostproductRedefiningOnlineaeproductRequest(); req.setProductIds( "109827;109828" ); AliexpressPostproductRedefiningOnlineaeproductResponse 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 18 | < aliexpress_postproduct_redefining_onlineaeproduct_response > < result > < error_details > < error_detail > < error_code >15</ error_code > < product_ids > < number >[50001056157</ number > < number >50001056153]</ number > </ product_ids > </ error_detail > </ error_details > < modify_count >5</ modify_count > < product_id >0</ product_id > < success >true</ success > < error_code >11015111</ error_code > < error_message >系统异常!</ error_message > </ result > </ aliexpress_postproduct_redefining_onlineaeproduct_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 > |
错误码 | 错误描述 | 解决方案 |
---|---|---|
090014 | 商品不存在 | 商品不存在 |
090015 | 产品处于非"下架"状态中 | 产品处于非"下架"状态中 |
090012 | 卖家被处罚,禁止上架商品 | 卖家被处罚,禁止上架商品 |
090019 | 运费模版不存在或者不能被关联到当前产品. | 运费模版不存在或者不能被关联到当前产品. |
090021 | 产品处于非审核通过状态中. | 产品处于非审核通过状态中. |
090025 | 产品已经删除 | 产品已经删除 |
090026 | 上架失败 | 上架失败 |
150008 | 商品发布数量受限 | 商品发布数量受限 |