优惠券列表
POST
https://api.xiaoe-tech.com/xe.coupon.list/2.0.0
拥有此API的权限集 |
---|
营销码券管理-查询码券信息 |
receive_limit_ids
领取限制关联ID的Json字符串参数名 | 类型 | 说明 | 备注(示例) |
---|---|---|---|
id | string | 关联id | |
title | string | 冗余标题 | |
is_free_vip | bool | 是否是体验会员 | true |
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.xiaoe-tech.com/xe.coupon.list/2.0.0' \
--header 'Content-Type: application/json' \
--data-raw '{
"access_token":"xe_xxxxx"
}'
响应示例响应示例
{
"code": 0,
"msg": "",
"data": {
"current_page": 1,
"data": [
{
"id": "cou_xxxwcB",
"title": "xxx",
"type": 1,
"discount_way": 1,
"discount_percent": 0,
"discount_limit_price": 0,
"spread_type": 3,
"price": 23322,
"bind_res_count": 0,
"require_price": 0,
"valid_at": "2021-08-28 00:00:00",
"invalid_at": "2021-08-31 00:00:00",
"valid_after": -1,
"valid_day": 0,
"manual_stop_at": null,
"receive_rule": 0,
"count": 2,
"has_received": 0,
"can_share": 1,
"coupon_type": 1,
"receive_limit_type": 0,
"receive_limit_ids": "",
"instructions": "",
"limit_title": "xxxx",
"has_relate_paid_coupon": false,
"has_spread_process_state": 0,
"is_use": 0,
"use_count": 0,
"coupon_state": 1,
"activity_exception_msg": "",
"activity_state": 1,
"can_del_since": "",
"surplus_count": 2
}
],
"from": 1,
"last_page": 518,
"next_page_url": "http://xxxx",
"path": "http://xxxx",
"per_page": 10,
"prev_page_url": null,
"to": 10,
"total": 5171
}
}
请求参数
Body 参数application/json