文档中心 > API类目 > 闲鱼电商SAAS

alibaba.idle.coin.coindeduction.store.status (全店抵扣状态查询)

全店抵扣状态查询

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述

响应参数

名称 类型 示例值 描述
suc Boolean true 是否成功
model StoreDeductionStatusResponse 全店抵扣状态查询响应
  • └ status
  • Number
  • 1
  • 0-未开通, 1-已开通, 2-已关闭
  • └ deduction_ratio
  • Number
  • 20
  • 抵扣比例
  • └ open_time
  • Number
  • 23131313231
  • 开通时间
  • └ close_available_time
  • Number
  • 23131313321
  • 可关闭时间
  • └ total_item_count
  • Number
  • 20
  • 总宝贝数量
  • └ success_item_count
  • Number
  • 12
  • 成功数量
  • └ fail_item_count
  • Number
  • 8
  • 失败数量
  • └ ratio_range
  • String []
  • 比例范围
  • └ close_t1_satisfied
  • Boolean
  • true
  • 是否满足 T+1 关闭条件
  • └ store_deduction_gray_hit
  • Boolean
  • true
  • 是否命中全店抵扣灰度(false 时前端隐藏全店抵扣入口)
  • └ min_ratio
  • Number
  • 1
  • 最小抵扣比例(仅命中灰度时有值)
  • └ max_ratio
  • Number
  • 10
  • 最大抵扣比例(仅命中灰度时有值)
msg_info String - 错误信息
msg_code String - 错误码

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaIdleCoinCoindeductionStoreStatusRequest req = new AlibabaIdleCoinCoindeductionStoreStatusRequest();
AlibabaIdleCoinCoindeductionStoreStatusResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_idle_coin_coindeduction_store_status_response>
    <suc>true</suc>
    <model>
        <status>1</status>
        <deduction_ratio>20</deduction_ratio>
        <open_time>23131313231</open_time>
        <close_available_time>23131313321</close_available_time>
        <total_item_count>20</total_item_count>
        <success_item_count>12</success_item_count>
        <fail_item_count>8</fail_item_count>
        <close_t1_satisfied>true</close_t1_satisfied>
        <store_deduction_gray_hit>true</store_deduction_gray_hit>
        <min_ratio>1</min_ratio>
        <max_ratio>10</max_ratio>
    </model>
    <msg_info>-</msg_info>
    <msg_code>-</msg_code>
</alibaba_idle_coin_coindeduction_store_status_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

返回
顶部