文档中心 > API类目 > 闲鱼循环商店-前台

alibaba.idle.cycleshop.seller.reportinfo (闲鱼循环商店-卖家店内数据报告信息查询)

闲鱼循环商店-卖家店内数据报告信息查询

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
param CycleShopSellerReportTopQry 必须 请求参数
  • └ shop_userid
  • Number
  • 必须
  • 974352345324
  • 门店账号userid
  • query_option
  • CycleShopSellerReportTopOption
  • 必须
  • 查询选项,请根据需要打开,打开太多会影响性能
  • └ need_userbase
  • Boolean
  • 必须
  • true
  • 是否需要查询用户基础信息(Nick,头像等)
  • └ need_income_fee
  • Boolean
  • 必须
  • false
  • 是否需要统计已赚金额
  • └ need_sold_count
  • Boolean
  • 必须
  • false
  • 是否需要统计【已售】货品件数
  • └ need_onsale_count
  • Boolean
  • 必须
  • false
  • 是否需要统计【在售】货品件数
  • └ need_toprocess_count
  • Boolean
  • 必须
  • false
  • 是否需要统计【待处理】货品件数
  • └ need_toconfirm_count
  • Boolean
  • 必须
  • false
  • 是否需要统计【待确认】货品件数
  • └ need_all_count
  • Boolean
  • 必须
  • false
  • 是否需要统计【全部】货品件数(确认后的)
  • └ need_prepare_cnt
  • Boolean
  • 可选
  • false
  • 是否需要统计【准备中】货品件数
  • └ need_clearance_fail_cnt
  • Boolean
  • 可选
  • false
  • 是否需要统计【清仓失败】货品件数

响应参数

名称 类型 示例值 描述
result CommonResult 返回结果
  • └ success
  • Boolean
  • true
  • 是否成功
  • └ err_code
  • String
  • PARAM_ERROR
  • 错误码
  • └ err_msg
  • String
  • 参数错误
  • 错误描述
  • data
  • CycleShopSellerReportTopVO
  • 结果数据
  • └ avater
  • String
  • http://mm.jpg
  • 卖家头像链接
  • └ user_nick
  • String
  • 大大大富豪
  • 用户昵称,闲鱼昵称>会员名,若是会员名会脱敏
  • └ income_fee
  • Number
  • 987600
  • 卖家已赚金额,单位分
  • └ sold_count
  • Number
  • 895
  • 卖家售出货品件数
  • └ onsale_count
  • Number
  • 62
  • 卖家在售货品件数
  • └ toprocess_count
  • Number
  • 5
  • 卖家待处理货品件数
  • └ toconfirm_count
  • Number
  • 6
  • 卖家待确认货品数
  • └ all_count
  • Number
  • 19
  • 全部货品件数(确认后的)
  • └ clearance_fail_cnt
  • Number
  • 10
  • 卖家清仓失败货品数

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaIdleCycleshopSellerReportinfoRequest req = new AlibabaIdleCycleshopSellerReportinfoRequest();
AlibabaIdleCycleshopSellerReportinfoRequest.CycleShopSellerReportTopQry obj1 = new AlibabaIdleCycleshopSellerReportinfoRequest.CycleShopSellerReportTopQry();
obj1.setShopUserid(974352345324L);
AlibabaIdleCycleshopSellerReportinfoRequest.CycleShopSellerReportTopOption obj2 = new AlibabaIdleCycleshopSellerReportinfoRequest.CycleShopSellerReportTopOption();
obj2.setNeedUserbase(true);
obj2.setNeedIncomeFee(false);
obj2.setNeedSoldCount(false);
obj2.setNeedOnsaleCount(false);
obj2.setNeedToprocessCount(false);
obj2.setNeedToconfirmCount(false);
obj2.setNeedAllCount(false);
obj2.setNeedPrepareCnt(false);
obj2.setNeedClearanceFailCnt(false);
obj1.setQueryOption(obj2);
req.setParam(obj1);
AlibabaIdleCycleshopSellerReportinfoResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_idle_cycleshop_seller_reportinfo_response>
    <result>
        <success>true</success>
        <err_code>PARAM_ERROR</err_code>
        <err_msg>参数错误</err_msg>
        <data>
            <avater>http://mm.jpg</avater>
            <user_nick>大大大富豪</user_nick>
            <income_fee>987600</income_fee>
            <sold_count>895</sold_count>
            <onsale_count>62</onsale_count>
            <toprocess_count>5</toprocess_count>
            <toconfirm_count>6</toconfirm_count>
            <all_count>19</all_count>
            <clearance_fail_cnt>10</clearance_fail_cnt>
        </data>
    </result>
</alibaba_idle_cycleshop_seller_reportinfo_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

返回
顶部