注意:以下文档只适用于TOP接口,请谨慎使用!

alibaba.idle.isv.merchant.scene.item.queryapplyplan (闲鱼集市报名计划查询)

闲鱼集市报名计划查询

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
isv_batch_apply_plan_request IsvBatchApplyPlanRequest 必须 请求入参
  • query_options
  • IsvBatchApplyPlanQueryOptions
  • 可选
  • 查询选项配置,用于指定可选查询项。默认 null(不查询任何可选项)
  • └ query_traffic_growth_rate
  • Boolean
  • 可选
  • true
  • 是否查询流量增幅。显式指定为 true 时,才会对建议加速的商品查询流量增幅;null 或 false 时跳过
  • └ item_ids
  • Number []
  • 必须
  • [623456789012, 623456789013]
  • 商品 ID 列表,单次最多不超过 20 个
  • └ merchant_scene
  • String
  • 必须
  • "idle_market"
  • 招商场景,ISV 场景固定传 idle_market
  • └ source_type
  • String
  • 可选
  • ISV
  • 来源 ISV场景填ISV

响应参数

名称 类型 示例值 描述
result Result 外层结构
  • └ success
  • Boolean
  • true
  • 返回结果
  • └ err_code
  • String
  • EXECUTE_EXCEPTION
  • 错误码
  • module
  • IsvBatchApplyPlanDTO
  • 抽象类
  • success_items
  • IsvItemApplyPlanDTO []
  • 成功商品
  • └ item_id_str
  • String
  • 623456789012
  • 闲鱼商品ID(字符串类型)
  • └ commission_rate
  • String
  • 5%
  • 佣金比例
  • └ quantity
  • Number
  • 5
  • 商品数量
  • └ item_title
  • String
  • 全新苹果iPhone 15 Pro Max 256G
  • 商品标题
  • └ traffic_growth_rate
  • String
  • 30%
  • 流量增长率
  • └ item_desc
  • String
  • 全新未拆封,国行正品
  • 商品描述
  • └ duration
  • Number
  • 14
  • 报名计划持续天数
  • └ item_id
  • Number
  • 623456789012
  • 闲鱼商品ID(数字类型)
  • item_price_info
  • ItemPriceInfoDTO
  • 商品价格信息
  • └ item_id
  • Number
  • 623456789012
  • 闲鱼商品ID(数字类型)
  • └ item_id_str
  • String
  • 623456789012
  • 闲鱼商品ID(字符串类型)
  • └ same_price_for_all_sku
  • Boolean
  • false
  • 是否所有SKU价格一致
  • price
  • PriceDTO
  • 商品价格
  • └ price_cent
  • Number
  • 649900
  • 价格(单位:分)
  • └ price_cent_str
  • String
  • 649900
  • 价格(单位:分,字符串)
  • └ price_yuan
  • String
  • 6499.00
  • 价格(单位:元)
  • min_price
  • PriceDTO
  • 最低价格
  • └ price_cent
  • Number
  • 699900
  • 价格(单位:分)
  • └ price_cent_str
  • String
  • 699900
  • 价格(单位:分,字符串)
  • └ price_yuan
  • String
  • 6999.00
  • 价格(单位:元)
  • max_price
  • PriceDTO
  • 最高价格
  • └ price_cent
  • Number
  • 799900
  • 价格(单位:分)
  • └ price_cent_str
  • String
  • 799900
  • 价格(单位:分,字符串)
  • └ price_yuan
  • String
  • 7999.00
  • 价格(单位:元)
  • └ has_multi_sku
  • Boolean
  • true
  • 是否含多SKU
  • └ recommend_accelerate
  • Boolean
  • true
  • 是否推荐加速
  • item_image_list
  • ItemImageDTO []
  • 商品图片列表
  • └ url
  • String
  • https://img.alicdn.com/bao/uploaded/xxx.jpg
  • 图片地址
  • sku_apply_plan_list
  • SkuApplyPlanDTO []
  • SKU报名计划列表
  • └ sku_title
  • String
  • 256G 黑色
  • SKU标题
  • image
  • ItemImageDTO
  • SKU图片
  • └ url
  • String
  • https://img.alicdn.com/bao/uploaded/sku1.jpg
  • 图片地址
  • └ quantity
  • Number
  • 3
  • SKU数量
  • └ suggest_quantity
  • Number
  • 2
  • 建议数量
  • └ sku_id_str
  • String
  • 4521345678
  • SKU ID(字符串类型)
  • price
  • PriceDTO
  • SKU价格
  • └ price_cent
  • Number
  • 699900
  • 价格(单位:分)
  • └ price_cent_str
  • String
  • 699900
  • 价格(单位:分,字符串)
  • └ price_yuan
  • String
  • 6999.00
  • 价格(单位:元)
  • suggest_max_price
  • PriceDTO
  • 建议最高价格
  • └ price_cent
  • Number
  • 679900
  • 价格(单位:分)
  • └ price_cent_str
  • String
  • 679900
  • 价格(单位:分,字符串)
  • └ price_yuan
  • String
  • 6799.00
  • 价格(单位:元)
  • └ sku_id
  • Number
  • 4521345678
  • SKU ID(数字类型)
  • suggest_min_price
  • PriceDTO
  • 建议最低价格
  • └ price_cent
  • Number
  • 649900
  • 价格(单位:分)
  • └ price_cent_str
  • String
  • 649900
  • 价格(单位:分,字符串)
  • └ price_yuan
  • String
  • 6499.00
  • 价格(单位:元)
  • └ price_whitelist
  • Boolean
  • false
  • 是否在价格白名单内
  • └ suggest_version
  • String
  • 1715500800000_a3b2c1d4e5f6
  • 建议版本号
  • └ item_url
  • String
  • https://www.goofish.com/item?id=623456789012
  • 商品详情页链接
  • └ risk_issued
  • Boolean
  • false
  • 是否已发布风险提示
  • failed_items
  • ItemFailureInfoDTO []
  • 报名失败商品列表
  • └ item_id
  • Number
  • 623456789014
  • 闲鱼商品ID(数字类型)
  • └ item_id_str
  • String
  • 623456789014
  • 闲鱼商品ID(字符串类型)
  • └ has_multi_sku
  • Boolean
  • false
  • 是否含多SKU
  • └ quantity
  • Number
  • 1
  • 商品数量
  • └ item_title
  • String
  • 二手笔记本电脑
  • 商品标题
  • item_image_list
  • ItemImageDTO []
  • 商品图片列表
  • └ url
  • String
  • https://img.alicdn.com/bao/uploaded/yyy.jpg
  • 图片地址
  • └ err_code
  • String
  • ITEM_NOT_ELIGIBLE
  • 错误码
  • └ err_msg
  • String
  • 商品不满足集市准入条件
  • 错误信息
  • └ item_desc
  • String
  • 商品描述哦
  • 商品描述
  • └ item_url
  • String
  • https://www.goofish.com/item?id=623456789014
  • 商品详情页链接
  • └ err_msg
  • String
  • 错误信息示例:itemId为空
  • 错误信息

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaIdleIsvMerchantSceneItemQueryapplyplanRequest req = new AlibabaIdleIsvMerchantSceneItemQueryapplyplanRequest();
AlibabaIdleIsvMerchantSceneItemQueryapplyplanRequest.IsvBatchApplyPlanRequest obj1 = new AlibabaIdleIsvMerchantSceneItemQueryapplyplanRequest.IsvBatchApplyPlanRequest();
AlibabaIdleIsvMerchantSceneItemQueryapplyplanRequest.IsvBatchApplyPlanQueryOptions obj2 = new AlibabaIdleIsvMerchantSceneItemQueryapplyplanRequest.IsvBatchApplyPlanQueryOptions();
obj2.setQueryTrafficGrowthRate(true);
obj1.setQueryOptions(obj2);
obj1.setItemIds(new Long[] { 623456789012, 623456789013 };
);
obj1.setMerchantScene("\"idle_market\"");
obj1.setSourceType("ISV");
req.setIsvBatchApplyPlanRequest(obj1);
AlibabaIdleIsvMerchantSceneItemQueryapplyplanResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_idle_isv_merchant_scene_item_queryapplyplan_response>
    <result>
        <success>true</success>
        <err_code>EXECUTE_EXCEPTION</err_code>
        <module>
            <success_items>
                <isv_item_apply_plan_d_t_o>
                    <item_id_str>623456789012</item_id_str>
                    <commission_rate>5%</commission_rate>
                    <quantity>5</quantity>
                    <item_title>全新苹果iPhone 15 Pro Max 256G</item_title>
                    <traffic_growth_rate>30%</traffic_growth_rate>
                    <item_desc>全新未拆封,国行正品</item_desc>
                    <duration>14</duration>
                    <item_id>623456789012</item_id>
                    <item_price_info>
                        <item_id>623456789012</item_id>
                        <item_id_str>623456789012</item_id_str>
                        <same_price_for_all_sku>false</same_price_for_all_sku>
                        <price>
                            <price_cent>649900</price_cent>
                            <price_cent_str>649900</price_cent_str>
                            <price_yuan>6499.00</price_yuan>
                        </price>
                        <min_price>
                            <price_cent>699900</price_cent>
                            <price_cent_str>699900</price_cent_str>
                            <price_yuan>6999.00</price_yuan>
                        </min_price>
                        <max_price>
                            <price_cent>799900</price_cent>
                            <price_cent_str>799900</price_cent_str>
                            <price_yuan>7999.00</price_yuan>
                        </max_price>
                    </item_price_info>
                    <has_multi_sku>true</has_multi_sku>
                    <recommend_accelerate>true</recommend_accelerate>
                    <item_image_list>
                        <item_image_d_t_o>
                            <url>https://img.alicdn.com/bao/uploaded/xxx.jpg</url>
                        </item_image_d_t_o>
                    </item_image_list>
                    <sku_apply_plan_list>
                        <sku_apply_plan_d_t_o>
                            <sku_title>256G 黑色</sku_title>
                            <image>
                                <url>https://img.alicdn.com/bao/uploaded/sku1.jpg</url>
                            </image>
                            <quantity>3</quantity>
                            <suggest_quantity>2</suggest_quantity>
                            <sku_id_str>4521345678</sku_id_str>
                            <price>
                                <price_cent>699900</price_cent>
                                <price_cent_str>699900</price_cent_str>
                                <price_yuan>6999.00</price_yuan>
                            </price>
                            <suggest_max_price>
                                <price_cent>679900</price_cent>
                                <price_cent_str>679900</price_cent_str>
                                <price_yuan>6799.00</price_yuan>
                            </suggest_max_price>
                            <sku_id>4521345678</sku_id>
                            <suggest_min_price>
                                <price_cent>649900</price_cent>
                                <price_cent_str>649900</price_cent_str>
                                <price_yuan>6499.00</price_yuan>
                            </suggest_min_price>
                        </sku_apply_plan_d_t_o>
                    </sku_apply_plan_list>
                    <price_whitelist>false</price_whitelist>
                    <suggest_version>1715500800000_a3b2c1d4e5f6</suggest_version>
                    <item_url>https://www.goofish.com/item?id=623456789012</item_url>
                    <risk_issued>false</risk_issued>
                </isv_item_apply_plan_d_t_o>
            </success_items>
            <failed_items>
                <item_failure_info_d_t_o>
                    <item_id>623456789014</item_id>
                    <item_id_str>623456789014</item_id_str>
                    <has_multi_sku>false</has_multi_sku>
                    <quantity>1</quantity>
                    <item_title>二手笔记本电脑</item_title>
                    <item_image_list>
                        <item_image_d_t_o>
                            <url>https://img.alicdn.com/bao/uploaded/yyy.jpg</url>
                        </item_image_d_t_o>
                    </item_image_list>
                    <err_code>ITEM_NOT_ELIGIBLE</err_code>
                    <err_msg>商品不满足集市准入条件</err_msg>
                    <item_desc>商品描述哦</item_desc>
                    <item_url>https://www.goofish.com/item?id=623456789014</item_url>
                </item_failure_info_d_t_o>
            </failed_items>
        </module>
        <err_msg>错误信息示例:itemId为空</err_msg>
    </result>
</alibaba_idle_isv_merchant_scene_item_queryapplyplan_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

返回
顶部