taobao.top.commission.user.stat (商家维度发货接口统计信息查询)

商家维度发货接口统计信息查询

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
page_index Number 可选 123 页码,从1开始
biz_date String 可选 20231101 账单时间,格式yyyyMMdd
page_size Number 可选 123 分页大小
query_count_only Boolean 可选 false 是否只查询总数

响应参数

名称 类型 示例值 描述
result UserStatPageDTO 账单详情
  • └ total_count
  • Number
  • 123
  • 总数
  • entity_list
  • UserStatDTO []
  • 详情列表
  • └ app_key
  • String
  • 123
  • appkey
  • └ open_seller_id
  • String
  • 123
  • 商家openid
  • └ quantity
  • Number
  • 123
  • 计量值
  • └ biz_date
  • String
  • 20231101
  • 数据时间

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
TopCommissionUserStatRequest req = new TopCommissionUserStatRequest();
req.setPageIndex(123L);
req.setBizDate("20231101");
req.setPageSize(123L);
req.setQueryCountOnly(false);
TopCommissionUserStatResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<top_commission_user_stat_response>
    <result>
        <total_count>123</total_count>
        <entity_list>
            <user_stat_d_t_o>
                <app_key>123</app_key>
                <open_seller_id>123</open_seller_id>
                <quantity>123</quantity>
                <biz_date>20231101</biz_date>
            </user_stat_d_t_o>
        </entity_list>
    </result>
</top_commission_user_stat_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

返回
顶部