alibaba.idle.consignment.spu.statistics (闲鱼帮卖同步服务商交易统计信息)

闲鱼帮卖同步服务商交易统计信息

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
param SpuStatistics 可选 入参
  • └ start_time
  • String
  • 可选
  • 2019-05-12 12:00:00
  • 开始时间(预留)
  • └ status
  • Number
  • 可选
  • 1
  • 数据状态:1(可用)2(不可用)
  • └ scene_type
  • String
  • 可选
  • 3C
  • 场景:3C(3C行业)、BULKS(大件)
  • └ spu_id
  • Number
  • 必须
  • 123
  • spuId
  • └ sku_id
  • String
  • 可选
  • 462
  • 预留字段
  • └ descr
  • String
  • 可选
  • iphoneX机型记录信息
  • 该spu
  • └ end_time
  • String
  • 可选
  • 2019-05-12 12:00:00
  • 结束时间(预留)
  • └ version
  • Number
  • 可选
  • 1
  • 版本号(预留)
  • └ spu_data
  • String
  • 可选
  • {"compare":[{"type1":{"top":100000,"higher":2000}},{"type1":{"top":100000,"higher":2000}},{"type1":{"top":100000,"higher":2000}}]}或者{"compare":[{"64G":{"top":498900,"higher":80000}},{"128G":{"top":563400,"higher":78400}},{"256G":{"top":639900,"higher":104800}}]}
  • 结构数据,涉及金额的数据单位为分,精确到元

响应参数

名称 类型 示例值 描述
result Boolean false 是否成功

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaIdleConsignmentSpuStatisticsRequest req = new AlibabaIdleConsignmentSpuStatisticsRequest();
AlibabaIdleConsignmentSpuStatisticsRequest.SpuStatistics obj1 = new AlibabaIdleConsignmentSpuStatisticsRequest.SpuStatistics();
obj1.setStartTime("2019-05-12 12:00:00");
obj1.setStatus(1L);
obj1.setSceneType("3C");
obj1.setSpuId(123L);
obj1.setSkuId("462");
obj1.setDescr("iphoneX机型记录信息");
obj1.setEndTime("2019-05-12 12:00:00");
obj1.setVersion(1L);
obj1.setSpuData("{\"compare\":[{\"type1\":{\"top\":100000,\"higher\":2000}},{\"type1\":{\"top\":100000,\"higher\":2000}},{\"type1\":{\"top\":100000,\"higher\":2000}}]}或者{\"compare\":[{\"64G\":{\"top\":498900,\"higher\":80000}},{\"128G\":{\"top\":563400,\"higher\":78400}},{\"256G\":{\"top\":639900,\"higher\":104800}}]}");
req.setParam(obj1);
AlibabaIdleConsignmentSpuStatisticsResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_idle_consignment_spu_statistics_response>
    <result>false</result>
</alibaba_idle_consignment_spu_statistics_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

返回
顶部