taobao.spire.organization.pricediff.item.period (淘小铺价差机构商品排期)

查询淘小铺价差机构的商品排期,查看指定日期的商品列表信息。

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
distributor_id_str String 必须 PGN4XFv4OH8GvkkLvm84X87eM8kLPmZHXmZzvH*zvFxT 分销者id加密串
query_date_str String 必须 2021-01-17 11:00:01 排期日期
type Number 可选 3 2,基本排期;3,品牌团排期

响应参数

名称 类型 示例值 描述
result ResultDo 返回结果
  • └ success
  • Boolean
  • true
  • 调用是否成功
  • list
  • OrgItemInfoVO []
  • 如下
  • 排期列表
  • └ online_start_time
  • Number
  • 1611158400000
  • 活动开始时间
  • └ price_for_c
  • String
  • 5
  • 零售建议价
  • └ current_price
  • String
  • 24.90
  • 当前购买价格
  • └ is_online
  • Boolean
  • true
  • 是否在线
  • └ origin_price
  • String
  • 27.90
  • 商品一口价(划线价)
  • └ title
  • String
  • 小不点儿童加绒加厚秋衣裤保暖衣套装
  • 标题
  • └ encrypt_item_id
  • String
  • P8k0XHkyPGheMGcSP8ZhMGZhv8PeMk7ePklzMC*ePCkT
  • 商品ID加密串
  • └ sales
  • Number
  • 2
  • 总销量
  • └ pic_url
  • String
  • https://img.alicdn.com/bao/uploaded/i4/2207466781489/O1CN01bvlq3F1Ms0OgH8PRn_!!2207466781489.jpg
  • 主图(彩图)
  • └ activity_price
  • String
  • 24.9
  • 活动价(元),活动未开始表示预热价
  • └ item_images_list
  • String []
  • https:\/\/img.alicdn.com\/bao\/uploaded\/i4\/2207466781489\/O1CN01bvlq3F1Ms0OgH8PRn_!!2207466781489.jpg
  • 商品图片
  • └ subtitle
  • String
  • 牛奶丝加绒保暖衣,舒适亲肤
  • 子标题,商品卖点
  • └ month_total_sales
  • Number
  • 2
  • 月销量
  • └ white_base_pic_url
  • String
  • https://img.alicdn.com/bao/uploaded/i3/2207466781489/O1CN01FeRP7G1Ms0OKywHAx_!!2207466781489.jpg
  • 白底图
  • └ online_end_time
  • Number
  • 1611331199000
  • 活动结束时间
  • └ sku_count
  • Number
  • 35
  • sku个数
  • └ commission4_price_diff
  • String
  • 9.88
  • 价差机构佣金(元)
  • └ item_id
  • Number
  • 637238313249
  • 商品Id
  • └ max_coupon_amount
  • String
  • 5.00
  • 商品券面额(元)
  • └ extend_info
  • String
  • {"brandExtInfo":{"lstBgColour":"rgb(235,98,0)","headBgPic":"https://gw.alicdn.com/imgextra/i2/O1CN017w5x951N77Uh4lIBL_!!6000000001522-2-tps-702-421.png","lstBgPic":"https://gw.alicdn.com/imgextra/i1/O1CN01Mqf9G821dFudPSHoi_!!6000000007007-2-tps-750-486.png"}}
  • 附加信息
  • └ activity_title
  • String
  • 淘小铺走马灯
  • 活动排期标题
  • └ promotion_pic_url
  • String
  • https://img.alicdn.com/imgextra/i2/O1CN01OR5S8M1QZvFnubkSN_!!6000000001991-0-tps-702-277.jpg
  • 商品推广图片
  • └ error_message
  • String
  • 参数不能为null
  • 错位信息
  • └ error_code
  • String
  • I_PARAM_0001
  • 错误码

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
SpireOrganizationPricediffItemPeriodRequest req = new SpireOrganizationPricediffItemPeriodRequest();
req.setDistributorIdStr("PGN4XFv4OH8GvkkLvm84X87eM8kLPmZHXmZzvH*zvFxT");
req.setQueryDateStr("2021-01-17 11:00:01");
req.setType(3L);
SpireOrganizationPricediffItemPeriodResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<spire_organization_pricediff_item_period_response>
    <result>
        <success>true</success>
        <list>
            <org_item_info_v_o>
                <online_start_time>1611158400000</online_start_time>
                <price_for_c>5</price_for_c>
                <current_price>24.90</current_price>
                <is_online>true</is_online>
                <origin_price>27.90</origin_price>
                <title>小不点儿童加绒加厚秋衣裤保暖衣套装</title>
                <encrypt_item_id>P8k0XHkyPGheMGcSP8ZhMGZhv8PeMk7ePklzMC*ePCkT</encrypt_item_id>
                <sales>2</sales>
                <pic_url>https://img.alicdn.com/bao/uploaded/i4/2207466781489/O1CN01bvlq3F1Ms0OgH8PRn_!!2207466781489.jpg</pic_url>
                <activity_price>24.9</activity_price>
                <item_images_list>
                    <string>https:\/\/img.alicdn.com\/bao\/uploaded\/i4\/2207466781489\/O1CN01bvlq3F1Ms0OgH8PRn_!!2207466781489.jpg</string>
                </item_images_list>
                <subtitle>牛奶丝加绒保暖衣,舒适亲肤</subtitle>
                <month_total_sales>2</month_total_sales>
                <white_base_pic_url>https://img.alicdn.com/bao/uploaded/i3/2207466781489/O1CN01FeRP7G1Ms0OKywHAx_!!2207466781489.jpg</white_base_pic_url>
                <online_end_time>1611331199000</online_end_time>
                <sku_count>35</sku_count>
                <commission4_price_diff>9.88</commission4_price_diff>
                <item_id>637238313249</item_id>
                <max_coupon_amount>5.00</max_coupon_amount>
                <extend_info>{&quot;brandExtInfo&quot;:{&quot;lstBgColour&quot;:&quot;rgb(235,98,0)&quot;,&quot;headBgPic&quot;:&quot;https://gw.alicdn.com/imgextra/i2/O1CN017w5x951N77Uh4lIBL_!!6000000001522-2-tps-702-421.png&quot;,&quot;lstBgPic&quot;:&quot;https://gw.alicdn.com/imgextra/i1/O1CN01Mqf9G821dFudPSHoi_!!6000000007007-2-tps-750-486.png&quot;}}</extend_info>
                <activity_title>淘小铺走马灯</activity_title>
                <promotion_pic_url>https://img.alicdn.com/imgextra/i2/O1CN01OR5S8M1QZvFnubkSN_!!6000000001991-0-tps-702-277.jpg</promotion_pic_url>
            </org_item_info_v_o>
        </list>
        <error_message>参数不能为null</error_message>
        <error_code>I_PARAM_0001</error_code>
    </result>
</spire_organization_pricediff_item_period_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

返回
顶部