alibaba.ihome.goods.model.item.infos (选品中心模型查询)

选品中心模型查询

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
identity_type String 可选 org 身份类型
model_ids String 必须 模型id列表

响应参数

名称 类型 示例值 描述
data SwjModelItemDTO [] 模型数据列表
  • └ send_service
  • Boolean
  • false
  • 是否送装
  • └ commission_rate
  • String
  • 0.027
  • 分佣比例
  • └ brand_name
  • String
  • null
  • 品牌名
  • └ commission_fee
  • Number
  • 15
  • 分佣金额
  • └ item_title
  • String
  • 黑胡桃木餐椅木蜡油椅子北欧日式实木家用樱桃木靠背书桌椅原木
  • 商品名称
  • └ model_id
  • Number
  • 294031
  • 模型id
  • └ length
  • Number
  • 101.762
  • └ item_id
  • Number
  • 574606970992
  • 商品id
  • └ model_name
  • String
  • ddy
  • 模型名称
  • └ item_pic
  • String
  • https://img.alicdn.com/imgextra/i2/898374068/O1CN015HVk5Y1fvBt0kWvea_!!898374068.jpg
  • 商品主图
  • └ brand_id
  • String
  • null
  • 品牌id,可能为空
  • └ width
  • Number
  • 85.9622
  • └ thumbnail
  • String
  • null
  • 模型封面图
  • └ item_url
  • String
  • https://item.taobao.com/item.htm?id=574606970992
  • 商品详情url
  • └ reverse_price
  • Number
  • 574
  • 商品价格
  • └ height
  • Number
  • 145.607
  • └ relation_item_code
  • String
  • HAVE_COMMISSION
  • 模型关联商品状态:NO_RELATION;NO_COMMISSION;HAVE_COMMISSION;ITEM_OFFLINE
  • └ relation_item_msg
  • String
  • 关联商品有佣金
  • 模型关联商品状态描述
result_code String SUCCESS 结果代码:SUCCESS成功;其他失败
result_msg String null 错误消息

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaIhomeGoodsModelItemInfosRequest req = new AlibabaIhomeGoodsModelItemInfosRequest();
req.setIdentityType("org");
req.setModelIds("");
AlibabaIhomeGoodsModelItemInfosResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_ihome_goods_model_item_infos_response>
    <data>
        <swj_model_item_d_t_o>
            <send_service>false</send_service>
            <commission_rate>0.027</commission_rate>
            <brand_name>null</brand_name>
            <commission_fee>15</commission_fee>
            <item_title>黑胡桃木餐椅木蜡油椅子北欧日式实木家用樱桃木靠背书桌椅原木</item_title>
            <model_id>294031</model_id>
            <length>101.762</length>
            <item_id>574606970992</item_id>
            <model_name>ddy</model_name>
            <item_pic>https://img.alicdn.com/imgextra/i2/898374068/O1CN015HVk5Y1fvBt0kWvea_!!898374068.jpg</item_pic>
            <brand_id>null</brand_id>
            <width>85.9622</width>
            <thumbnail>null</thumbnail>
            <item_url>https://item.taobao.com/item.htm?id=574606970992</item_url>
            <reverse_price>574</reverse_price>
            <height>145.607</height>
            <relation_item_code>HAVE_COMMISSION</relation_item_code>
            <relation_item_msg>关联商品有佣金</relation_item_msg>
        </swj_model_item_d_t_o>
    </data>
    <result_code>SUCCESS</result_code>
    <result_msg>null</result_msg>
</alibaba_ihome_goods_model_item_infos_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

返回
顶部