文档中心 > API类目 > 全球速卖通-商品管理

aliexpress.offer.product.skuprices.edit (编辑单商品多sku价格)

编辑单商品多sku价格

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
product_id Number 可选 32985788417 商品id
sku_id_price_map Json 可选 { "14:193": "0.6", "14:175": "0.9" } 商品sku与价格映射表。 SKU的价格信息(一个或着多个),格式{"skuid1":price1,"skuid2":price2}; 其中skuid可以通过api.findAeProductById接口中的aeopAeproductSKUs列表中各个sku对象中id字段值进行获取, 没有sku属性的商品其id回传“”值

响应参数

名称 类型 示例值 描述

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AliexpressOfferProductSkupricesEditRequest req = new AliexpressOfferProductSkupricesEditRequest();
req.setProductId(32985788417L);
req.setSkuIdPriceMapString("{ 	    \"14:193\": \"0.6\", 	    \"14:175\": \"0.9\"	  }");
AliexpressOfferProductSkupricesEditResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<aliexpress_offer_product_skuprices_edit_response>
</aliexpress_offer_product_skuprices_edit_response>

异常示例

  • XML示例
  • JSON示例
<error_response>
    <code>50</code>
    <msg>Remote service error</msg>
    <sub_code>isv.invalid-parameter</sub_code>
    <sub_msg>非法参数</sub_msg>
</error_response>

错误码解释

错误码 错误描述 解决方案

API工具

如何获得此API

FAQ

返回
顶部