- 🦊一分钟,了解 Apifox !
- 站内信
- 极光推送
- 南山甄选
- 优惠券
- 订单
- 发票
- 手势密码
- 文章
- 秒杀
- 站内信
- 评论
- 聊天
- 分销
- 小程序
- 申请分销
- 申请分销退款
- 申请分销状态
- 开通明细
- 开通明细v2
- 申请分销支付
- 添加商品
- 获取店铺信息
- 修改店铺信息
- 顶级分类
- 获取商品规格
- 退款订单详情
- 可上架商品
- 设置单个商品价格
- 下架商品
- 销售明细
- 分销商余额
- 分销商个人信息
- 分销商店铺订单列表
- 分销商店铺订单详情
- 分销商下级列表
- 分销商下级列表筛选条件
- 分销商商品小程序二维码
- 提现
- 提现记录
- 提现详情
- 提现配置
- 下级销售明细
- 查询申请代理支付状态
- 订单物流信息
- 分销商个人信息 副本
- 支付宝认证
- 支付 宝授权地址
- 推荐商品分类
- 店铺访问记录
- 店铺访问记录v2
- 分销店铺个人中心推荐商品
- 店铺用户访问记录
- 获取推荐店铺id
- 消息中心
- 消息产品信息
- 产品一键调价
- 消息是否一键调价过
- 添加商品-go
- 分销商下级列表-申请中
- 是否完成申请验证
- 人脸识别
- 签名验证
- 申请分销v2
- 分销商商品获取生成二维码信息
- 提现手续费
- 分销商商品小程序二维码-用户
- 店铺首页分类
- 原价开关
- 进货单
- 红钻
- 商品
- 用户
- 话费充值
- 心链
- 分销优惠券
- 银行卡
- 微信
- 商户
- 充值
- 套餐
- 管理员
- 好物分享
- 登录POST
- 首页GET
- 发起充值订单POST
- 充值微信支付POST
- 批量上传POST
- 上传图片POST
- 推送测试GET
- 首页公告GET
- 申请文本GET
- 活动详情GET
- 新建接口GET
- 购物车列表GET
- 新建接口GET
- 新建接口POST
- 新建接口POST
- 新建接口GET
- 推荐搜索词GET
- 新建接口GET
- 根据物流单号获取物流公司GET
- 分销商申请中下级列表数量GET
- 注册POST
- 菜单控制GET
- 首页菜单GET
- 平台商品二维码信息GET
- 首页bannerGET
- 城市列表GET
- 人脸注册发起POST
- 人脸注册成功POST
- 未命名接口POST
通用优惠券列表
开发中
GET
/api/common_coupons/v2
暂无描述
请求参数
Query 参数
sign
string
可选
time
string
可选
默认值:
1706768265
Header 参数
Authori-zation
string
-
示例值:
Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJjcm1lYi50ZXN0IiwiYXVkIjoiY3JtZWIudGVzdCIsImlhdCI6MTY0NTQyOTM5NSwibmJmIjoxNjQ1NDI5Mzk1LCJleHAiOjE2NTMyMDUzOTUsImp0aSI6eyJpZCI6MiwidHlwZSI6InVzZXIifX0.YnFb1xAaRi2Hz4j7rGNI12BJU5j7AgYyFyZTd_DII5o
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/api/common_coupons/v2?sign=&time=1706768265' \
--header 'Authori-zation: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJjcm1lYi50ZXN0IiwiYXVkIjoiY3JtZWIudGVzdCIsImlhdCI6MTY0NTQyOTM5NSwibmJmIjoxNjQ1NDI5Mzk1LCJleHAiOjE2NTMyMDUzOTUsImp0aSI6eyJpZCI6MiwidHlwZSI6InVzZXIifX0.YnFb1xAaRi2Hz4j7rGNI12BJU5j7AgYyFyZTd_DII5o'
返回响应
🟢200成功
application/json
Body
status
integer
必需
msg
string
必需
data
array [object {25}]
必需
id
integer
必需
cid
integer
必需
start_time
integer
开始时间
end_time
integer
结束时间
total_count
integer
限量
remain_count
integer
剩余数量
is_permanent
integer
是否限量
is_give_subscribe
integer
必需
is_full_give
integer
必需
full_reduction
string
必需
add_time
null
添加时间
person_limit
integer
是否限领
area_id
integer
区域id
activity_id
integer
活动id
is_gem
integer
必需
type
integer
优惠券类型
coupon_price
string
优惠券金额
use_min_price
string
最低使用金额
title
string
标题
category_id
integer
必需
game_money
integer
所需金豆
user_receive_count
integer
用户已领取数量
has
integer
必需
is_limit
integer
必需
status
integer
状态
示例
{
"status": 200,
"msg": "ok",
"data": [
{
"id": 47,
"cid": 35,
"start_time": 0,
"end_time": 0,
"total_count": 1,
"remain_count": 0,
"is_permanent": 0,
"is_give_subscribe": 0,
"is_full_give": 0,
"full_reduction": "0.00",
"add_time": null,
"person_limit": 1,
"area_id": 0,
"activity_id": 0,
"is_gem": 0,
"type": 0,
"coupon_price": "100.00",
"use_min_price": "1.00",
"title": "兑换llllllll",
"category_id": 0,
"game_money": 2000,
"user_receive_count": 1,
"has": 0,
"is_limit": 0,
"status": 1
},
{
"id": 46,
"cid": 35,
"start_time": 0,
"end_time": 0,
"total_count": 100,
"remain_count": 100,
"is_permanent": 0,
"is_give_subscribe": 0,
"is_full_give": 0,
"full_reduction": "0.00",
"add_time": null,
"person_limit": 1,
"area_id": 0,
"activity_id": 0,
"is_gem": 0,
"type": 0,
"coupon_price": "100.00",
"use_min_price": "1.00",
"title": "兑换llllllll",
"category_id": 0,
"game_money": 2000,
"user_receive_count": 0,
"has": 0,
"is_limit": 0,
"status": 0
},
{
"id": 34,
"cid": 33,
"start_time": 0,
"end_time": 0,
"total_count": 0,
"remain_count": 0,
"is_permanent": 1,
"is_give_subscribe": 0,
"is_full_give": 0,
"full_reduction": "0.00",
"add_time": null,
"person_limit": 1,
"area_id": 0,
"activity_id": 4,
"is_gem": 0,
"type": 4,
"coupon_price": "500.00",
"use_min_price": "10000.00",
"title": "仅限美妆专区使用",
"category_id": 0,
"user_receive_count": 0,
"has": 0,
"is_limit": 0,
"status": 0
},
{
"id": 33,
"cid": 32,
"start_time": 0,
"end_time": 0,
"total_count": 0,
"remain_count": 0,
"is_permanent": 1,
"is_give_subscribe": 0,
"is_full_give": 0,
"full_reduction": "0.00",
"add_time": null,
"person_limit": 1,
"area_id": 0,
"activity_id": 4,
"is_gem": 0,
"type": 4,
"coupon_price": "200.00",
"use_min_price": "5000.00",
"title": "仅限美妆专区使用",
"category_id": 0,
"user_receive_count": 0,
"has": 0,
"is_limit": 0,
"status": 0
},
{
"id": 32,
"cid": 31,
"start_time": 0,
"end_time": 0,
"total_count": 0,
"remain_count": 0,
"is_permanent": 1,
"is_give_subscribe": 0,
"is_full_give": 0,
"full_reduction": "0.00",
"add_time": null,
"person_limit": 1,
"area_id": 0,
"activity_id": 3,
"is_gem": 0,
"type": 4,
"coupon_price": "500.00",
"use_min_price": "10000.00",
"title": "仅限腕表专区使用",
"category_id": 0,
"user_receive_count": 0,
"has": 0,
"is_limit": 0,
"status": 0
},
{
"id": 31,
"cid": 30,
"start_time": 0,
"end_time": 0,
"total_count": 0,
"remain_count": 0,
"is_permanent": 1,
"is_give_subscribe": 0,
"is_full_give": 0,
"full_reduction": "0.00",
"add_time": null,
"person_limit": 1,
"area_id": 0,
"activity_id": 3,
"is_gem": 0,
"type": 4,
"coupon_price": "100.00",
"use_min_price": "2000.00",
"title": "仅限腕表专区使用",
"category_id": 0,
"user_receive_count": 0,
"has": 0,
"is_limit": 0,
"status": 0
},
{
"id": 30,
"cid": 29,
"start_time": 0,
"end_time": 0,
"total_count": 0,
"remain_count": 0,
"is_permanent": 1,
"is_give_subscribe": 0,
"is_full_give": 0,
"full_reduction": "0.00",
"add_time": null,
"person_limit": 1,
"area_id": 0,
"activity_id": 2,
"is_gem": 0,
"type": 4,
"coupon_price": "500.00",
"use_min_price": "10000.00",
"title": "仅限家电专区使用",
"category_id": 0,
"user_receive_count": 0,
"has": 0,
"is_limit": 0,
"status": 0
},
{
"id": 29,
"cid": 28,
"start_time": 0,
"end_time": 0,
"total_count": 0,
"remain_count": 0,
"is_permanent": 1,
"is_give_subscribe": 0,
"is_full_give": 0,
"full_reduction": "0.00",
"add_time": null,
"person_limit": 1,
"area_id": 0,
"activity_id": 2,
"is_gem": 0,
"type": 4,
"coupon_price": "100.00",
"use_min_price": "2000.00",
"title": "仅限家电专区使用",
"category_id": 0,
"user_receive_count": 0,
"has": 0,
"is_limit": 0,
"status": 0
},
{
"id": 28,
"cid": 27,
"start_time": 0,
"end_time": 0,
"total_count": 0,
"remain_count": 0,
"is_permanent": 1,
"is_give_subscribe": 0,
"is_full_give": 0,
"full_reduction": "0.00",
"add_time": null,
"person_limit": 1,
"area_id": 0,
"activity_id": 2,
"is_gem": 0,
"type": 4,
"coupon_price": "50.00",
"use_min_price": "1000.00",
"title": "仅限家电专区使用",
"category_id": 0,
"user_receive_count": 0,
"has": 0,
"is_limit": 0,
"status": 0
},
{
"id": 27,
"cid": 26,
"start_time": 0,
"end_time": 0,
"total_count": 0,
"remain_count": 0,
"is_permanent": 1,
"is_give_subscribe": 0,
"is_full_give": 0,
"full_reduction": "0.00",
"add_time": null,
"person_limit": 1,
"area_id": 0,
"activity_id": 1,
"is_gem": 0,
"type": 4,
"coupon_price": "300.00",
"use_min_price": "5000.00",
"title": "仅限白酒专区使用",
"category_id": 0,
"user_receive_count": 0,
"has": 0,
"is_limit": 0,
"status": 0
},
{
"id": 26,
"cid": 25,
"start_time": 0,
"end_time": 0,
"total_count": 0,
"remain_count": 0,
"is_permanent": 1,
"is_give_subscribe": 0,
"is_full_give": 0,
"full_reduction": "0.00",
"add_time": null,
"person_limit": 1,
"area_id": 0,
"activity_id": 1,
"is_gem": 0,
"type": 4,
"coupon_price": "100.00",
"use_min_price": "2000.00",
"title": "仅限白酒专区使用",
"category_id": 0,
"user_receive_count": 0,
"has": 0,
"is_limit": 0,
"status": 0
}
]
}
🟢200错误
修改于 2023-12-08 01:44:20