taobao.mcn.shop.item.get (商品详情)

商家授权; 商品详情查询

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
num_iid Number 必须 234343 商品id

响应参数

名称 类型 示例值 描述
item_response ItemResponse 响应结果
  • └ desc
  • String
  • 这个东西很不错的
  • 商品描述
  • └ wap_desc
  • String
  • wap报备详情
  • wap商品描述
  • └ wap_detail_url
  • String
  • http://asdjf.xx
  • 适合wap应用的商品详情url
  • └ sell_promise
  • Boolean
  • true
  • 是否承诺退换货服务
  • item_img
  • ItemImage []
  • true
  • 商品图片列表
  • └ id
  • Number
  • 234234
  • id
  • └ position
  • Number
  • 3
  • 位次
  • └ url
  • String
  • http://aadsf.jpg
  • 图片url
  • └ num_iid
  • Number
  • 23434343
  • 商品id
  • └ approve_status
  • String
  • onsale
  • 商品上传后的状态
  • └ pic_url
  • String
  • http://ix.jpg
  • 商品主图
  • └ title
  • String
  • title
  • 商品名称
  • └ price
  • String
  • 5.00
  • 商品价格
  • └ type
  • String
  • (fixed:一口价;auction:拍卖)
  • 商品类型
  • └ cid
  • Number
  • 1512
  • 商品类目id
  • └ seller_cids
  • String
  • 2234445,3344466,44643
  • 商品所属的店铺内卖家自定义类目列表
  • sku
  • Sku []
  • true
  • Sku列表
  • └ barcode
  • String
  • 343434
  • 商品级别的条形码
  • └ price
  • String
  • 5.00
  • 商品价格
  • └ properties
  • String
  • 1243:1215;5626:5125
  • 销售属性
  • └ properties_name
  • String
  • 20000:3275069:品牌:盈讯;1753146:3485013:型号:F908;-1234:-5678:自定义属性1:属性值1
  • 销售属性中文
  • └ quantity
  • Number
  • 300
  • 属于这个sku的商品的数量
  • └ sku_id
  • Number
  • 32343400
  • sku的id
  • └ outer_id
  • String
  • 234343
  • 商家设置的外部id
  • └ modified
  • Date
  • 2000-01-01 00:00:00
  • 修改时间
  • └ list_time
  • Date
  • 2000-01-01 00:00:00
  • 上架时间
  • └ modified
  • Date
  • 2000-01-01 00:00:00
  • 修改时间
  • └ outer_id
  • String
  • 234234
  • 商家外部编码(可与商家外部系统对接)。需要授权才能获取。

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
McnShopItemGetRequest req = new McnShopItemGetRequest();
req.setNumIid(234343L);
McnShopItemGetResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<mcn_shop_item_get_response>
    <item_response>
        <desc>这个东西很不错的</desc>
        <wap_desc>wap报备详情</wap_desc>
        <wap_detail_url>http://asdjf.xx</wap_detail_url>
        <sell_promise>true</sell_promise>
        <item_img>
            <item_image>
                <id>234234</id>
                <position>3</position>
                <url>http://aadsf.jpg</url>
            </item_image>
        </item_img>
        <num_iid>23434343</num_iid>
        <approve_status>onsale</approve_status>
        <pic_url>http://ix.jpg</pic_url>
        <title>title</title>
        <price>5.00</price>
        <type>(fixed:一口价;auction:拍卖)</type>
        <cid>1512</cid>
        <seller_cids>2234445,3344466,44643</seller_cids>
        <sku>
            <sku>
                <barcode>343434</barcode>
                <price>5.00</price>
                <properties>1243:1215;5626:5125</properties>
                <properties_name>20000:3275069:品牌:盈讯;1753146:3485013:型号:F908;-1234:-5678:自定义属性1:属性值1</properties_name>
                <quantity>300</quantity>
                <sku_id>32343400</sku_id>
                <outer_id>234343</outer_id>
                <modified>2000-01-01 00:00:00</modified>
            </sku>
        </sku>
        <list_time>2000-01-01 00:00:00</list_time>
        <modified>2000-01-01 00:00:00</modified>
        <outer_id>234234</outer_id>
    </item_response>
</mcn_shop_item_get_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

返回
顶部