taobao.shop.hotsell.auctions (根据卖家ID查询热销的宝贝)

根据卖家ID查询热销的宝贝

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
nick String 必须 xxx旗舰店 卖家昵称,不是店铺名称
item_count Number 可选 10 最多返回的宝贝个数

响应参数

名称 类型 示例值 描述
is_error Boolean true 是否发生错误
err_code String invalid-parameter:sellerid-null 错误码
err_msg String 卖家Id参数错误,必须大于0 错误信息说明
items String [] [{"itemId":1111,"itemName":"xxxxx宝贝","itemPic":"http://xxxx.jpg","itemPrice":"100.50","finalPrice":"90.80","sellerId":123456,"soldCnt",500}] 热销宝贝信息

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
ShopHotsellAuctionsRequest req = new ShopHotsellAuctionsRequest();
req.setNick("xxx旗舰店");
req.setItemCount(10L);
ShopHotsellAuctionsResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<shop_hotsell_auctions_response>
    <is_error>true</is_error>
    <err_code>invalid-parameter:sellerid-null</err_code>
    <err_msg>卖家Id参数错误,必须大于0</err_msg>
    <items>
        <string>[{&quot;itemId&quot;:1111</string>
        <string>&quot;itemName&quot;:&quot;xxxxx宝贝&quot;</string>
        <string>&quot;itemPic&quot;:&quot;http://xxxx.jpg&quot;</string>
        <string>&quot;itemPrice&quot;:&quot;100.50&quot;</string>
        <string>&quot;finalPrice&quot;:&quot;90.80&quot;</string>
        <string>&quot;sellerId&quot;:123456</string>
        <string>&quot;soldCnt&quot;</string>
        <string>500}]</string>
    </items>
</shop_hotsell_auctions_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

返回
顶部