文档中心 > API类目 > 客户运营平台API

taobao.opencrm.couponquota.get (优惠券投放额度信息查询接口)

优惠券投放额度信息查询接口

公共参数

请求参数

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

响应参数

名称 类型 示例值 描述
result CouponQuotaInfoDto result
  • └ coupon_quota
  • Number
  • 16000
  • 优惠券额度
  • └ coupon_quota_base
  • Number
  • 10000
  • 商家应该拥有的优惠券基数
  • └ crm_channel_use_rate
  • String
  • 0.02
  • 卖家在CRM通道发放优惠券使用率(最近90天)
  • └ industry_avg_use_rate
  • String
  • 0.01
  • 行业卖家发放优惠券平均使用率(最近90天)
  • └ remain_coupon_quota
  • Number
  • 5000
  • 剩余可用额度

请求示例

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

响应示例

  • XML示例
  • JSON示例
<opencrm_couponquota_get_response>
    <result>
        <coupon_quota>16000</coupon_quota>
        <coupon_quota_base>10000</coupon_quota_base>
        <crm_channel_use_rate>0.02</crm_channel_use_rate>
        <industry_avg_use_rate>0.01</industry_avg_use_rate>
        <remain_coupon_quota>5000</remain_coupon_quota>
    </result>
</opencrm_couponquota_get_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

返回
顶部