文档中心 > API类目 > 闲客联盟

alibaba.idle.affiliate.material.exact.get (闲鱼联盟-物料精确获取)

闲鱼联盟-物料精确获取

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
materials_exact_query_vo MaterialsExactQueryVO 可选 入参
  • └ material_type
  • Number
  • 必须
  • 1
  • 1 商品 2 权益
  • └ item_ids
  • String []
  • 可选
  • 853264639100
  • 商品id

响应参数

名称 类型 示例值 描述
result IdleAffiliateCommonResult result
  • result
  • MaterialDTO []
  • result
  • └ material_type
  • Number
  • 1
  • 物料类型 1商品 2权益
  • item_info
  • ItemInfo
  • 商品信息
  • item_base_info
  • ItemBaseInfo
  • 商品基础信息
  • └ item_id
  • String
  • 853264639100
  • 商品id
  • └ reserve_price
  • String
  • 180.00
  • 售价
  • └ quantity
  • Number
  • 0
  • 库存
  • └ original_price
  • String
  • 0.00
  • 原价
  • └ item_title
  • String
  • 阿尔飞斯双肩背包
  • 标题
  • └ stuff_status
  • String
  • 9
  • 新旧程度 1~9
  • └ image_urls
  • String []
  • 商品图
  • └ auction_type
  • String
  • b
  • 交易类型 拍卖:a 一口价:b
  • └ item_desc
  • String
  • 品牌:阿尔飞斯 成色:几乎全新,只使用过一次 功能:可以放一机一镜单反相机,电脑 偏远地区不包邮额 喜欢的亲亲不要错过哈[呲牙][送花]
  • 商品描述
  • └ category_name
  • String
  • 50122002
  • 类目名
  • └ status
  • String
  • promoting 商品推广中,cannotPromote 商品停止推广,sold 商品售出,offline 商品下架,unknown 未知
  • 商品状态
  • └ status_desc
  • String
  • 商品推广中
  • 商品状态描述
  • └ create_time
  • Date
  • 2024-12-20 15:15:25
  • 2024-12-20 15:15:25
  • └ update_time
  • Date
  • 修改时间
  • 2024-12-20 15:15:25
  • └ is_fish_shop
  • Boolean
  • 是否鱼小铺卖家
  • true
  • └ user_fish_shop_grade
  • Number
  • 鱼小铺等级
  • 5
  • └ seller_level_code
  • Number
  • 卖家信用等级
  • 5极好 4优秀 3一般
  • └ yhb_item
  • Boolean
  • 验货宝商品
  • true
  • item_promote_info
  • ItemPromoteInfo
  • 佣金信息
  • └ commission_rate
  • String
  • 0.135
  • 佣金比例
  • └ estimated_commission
  • String
  • 24.30000
  • 预估佣金
  • coupon_info
  • CouponInfo
  • 券信息
  • └ coupon_id
  • String
  • 123456
  • 券id
  • └ coupon_name
  • String
  • 帮帮红包
  • 券名称
  • └ success
  • Boolean
  • true
  • success
  • └ err_code
  • String
  • error
  • 错误码
  • └ err_msg
  • String
  • error
  • 错误信息

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaIdleAffiliateMaterialExactGetRequest req = new AlibabaIdleAffiliateMaterialExactGetRequest();
AlibabaIdleAffiliateMaterialExactGetRequest.MaterialsExactQueryVO obj1 = new AlibabaIdleAffiliateMaterialExactGetRequest.MaterialsExactQueryVO();
obj1.setMaterialType(1L);
obj1.setItemIds("853264639100");
req.setMaterialsExactQueryVo(obj1);
AlibabaIdleAffiliateMaterialExactGetResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_idle_affiliate_material_exact_get_response>
    <result>
        <result>
            <material_d_t_o>
                <material_type>1</material_type>
                <item_info>
                    <item_base_info>
                        <item_id>853264639100</item_id>
                        <reserve_price>180.00</reserve_price>
                        <quantity>0</quantity>
                        <original_price>0.00</original_price>
                        <item_title>阿尔飞斯双肩背包</item_title>
                        <stuff_status>9</stuff_status>
                        <auction_type>b</auction_type>
                        <item_desc>品牌:阿尔飞斯
成色:几乎全新,只使用过一次
功能:可以放一机一镜单反相机,电脑
偏远地区不包邮额
喜欢的亲亲不要错过哈[呲牙][送花]</item_desc>
                        <category_name>50122002</category_name>
                        <status>promoting 商品推广中,cannotPromote 商品停止推广,sold 商品售出,offline 商品下架,unknown 未知</status>
                        <status_desc>商品推广中</status_desc>
                        <create_time>2024-12-20 15:15:25</create_time>
                        <update_time>修改时间</update_time>
                        <is_fish_shop>是否鱼小铺卖家</is_fish_shop>
                        <user_fish_shop_grade>鱼小铺等级</user_fish_shop_grade>
                        <seller_level_code>卖家信用等级</seller_level_code>
                        <yhb_item>验货宝商品</yhb_item>
                    </item_base_info>
                    <item_promote_info>
                        <commission_rate>0.135</commission_rate>
                        <estimated_commission>24.30000</estimated_commission>
                    </item_promote_info>
                </item_info>
                <coupon_info>
                    <coupon_id>123456</coupon_id>
                    <coupon_name>帮帮红包</coupon_name>
                </coupon_info>
            </material_d_t_o>
        </result>
        <success>true</success>
        <err_code>error</err_code>
        <err_msg>error</err_msg>
    </result>
</alibaba_idle_affiliate_material_exact_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

返回
顶部