- 营销相关
- 测试
- 优惠券
- 其他
- 十一月活动
- 短信相关
- YHDD
- SCRM
- 安心财税
- 获取用户信息GET
- 发送验证码GET
- 手机号码加验证码登录POST
- 提现申请POST
- 签到接口POST
- 获取本周签到情况GET
- 积分明细GET
- 金额明细GET
- 我的积分GET
- 商品分类GET
- 商品列表GET
- 商品详情GET
- 任务列表和完成情况GET
- 任务-完成服务详情任务POST
- 任务-查看办件列表POST
- 任务-查看文章10秒POST
- 任务-分享小程序POST
- 购买商品POST
- 支付订单POST
- 我的优惠券GET
- 我的地址列表GET
- 创建或修改地址POST
- 订单列表GET
- 订单详情GET
- 取消订单POST
- 发起售后POST
- 更新头像POST
- 保存主体信息POST
- 获取主体信息GET
- 常量GET
- 保存个人信息POST
- 获取个人信息GET
- 充值POST
- 账单详情GET
- 奖池GET
- 剩余抽奖券GET
- 抽奖POST
- 抽奖记录GET
- 是否可以领取现金GET
- 领取现金POST
- 邀请用户列表GET
- 提现POST
- 提现记录GET
- 上传办件成功的信息POST
- 领取500现金POST
- 是否能领取500现金GET
- 办件列表GET
- 完成订单POST
- 提醒GET
- 写入提醒数据POST
- 是否有报名的办件GET
- 更改办件状态POST
- 领取流程GET
- 提交办件POST
- 8bf0850ceff40eecf22e90df78ed57a4POST
- 登录POST
- 抖音回传转换GET
- 获取跳转链接POST
- 客慕来
- 文件调查
- 测试专用GET
我的优惠券
开发中
GET
http://127.0.0.1:5000/shop/coupon/
请求参数
Query 参数
used_status
string
必需
示例值:
1
coupon_category
string
必需
示例值:
0
coupon_type
string
必需
示例值:
0
Header 参数
Ax-Mini-Auth-Token
string
可选
示例值:
c4530e4f3ceb0f1b40fa906fc7f7a9cd
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://127.0.0.1:5000/shop/coupon/?used_status=1&coupon_category=0&coupon_type=0'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{
"code": 0,
"data": [
{
"coupon": {
"cash_back_amount": "0.00",
"coupon_category": 1,
"coupon_number_limit": 0,
"coupon_number_surplus": 0,
"coupon_price": null,
"coupon_type": 2,
"desc": "8\u6298\u79ef\u5206\u5238",
"discount_amount": "0.00",
"discount_ratio": "0.80",
"end_date": "2030-01-01",
"expired_days": 0,
"expired_type": 2,
"id": 560909624,
"name": "8\u6298\u79ef\u5206\u5238",
"order_type_limit": "1",
"person_number_limit": 1,
"start_date": "2023-01-01",
"status": 1,
"threshold_amount": "0.00"
},
"coupon_id": 560909624,
"end_date": "2030-01-01",
"id": 560909623,
"start_date": "2023-01-01",
"used_datetime": null,
"used_status": 1,
"user_id": 560909624
},
{
"coupon": {
"cash_back_amount": "0.00",
"coupon_category": 1,
"coupon_number_limit": 0,
"coupon_number_surplus": 0,
"coupon_price": null,
"coupon_type": 2,
"desc": "8\u6298\u79ef\u5206\u5238",
"discount_amount": "0.00",
"discount_ratio": "0.80",
"end_date": "2030-01-01",
"expired_days": 0,
"expired_type": 2,
"id": 560909624,
"name": "8\u6298\u79ef\u5206\u5238",
"order_type_limit": "1",
"person_number_limit": 1,
"start_date": "2023-01-01",
"status": 1,
"threshold_amount": "0.00"
},
"coupon_id": 560909624,
"end_date": "2030-01-01",
"id": 560909622,
"start_date": "2023-01-01",
"used_datetime": null,
"used_status": 1,
"user_id": 560909624
},
{
"coupon": {
"cash_back_amount": "0.00",
"coupon_category": 1,
"coupon_number_limit": 0,
"coupon_number_surplus": 0,
"coupon_price": null,
"coupon_type": 2,
"desc": "8\u6298\u79ef\u5206\u5238",
"discount_amount": "0.00",
"discount_ratio": "0.80",
"end_date": "2030-01-01",
"expired_days": 0,
"expired_type": 2,
"id": 560909624,
"name": "8\u6298\u79ef\u5206\u5238",
"order_type_limit": "1",
"person_number_limit": 1,
"start_date": "2023-01-01",
"status": 1,
"threshold_amount": "0.00"
},
"coupon_id": 560909624,
"end_date": "2030-01-01",
"id": 560909617,
"start_date": "2023-01-01",
"used_datetime": null,
"used_status": 1,
"user_id": 560909624
},
{
"coupon": {
"cash_back_amount": "0.00",
"coupon_category": 3,
"coupon_number_limit": 0,
"coupon_number_surplus": 0,
"coupon_price": "0.00",
"coupon_type": 0,
"desc": "\u62bd\u5956\u5238",
"discount_amount": "0.00",
"discount_ratio": "0.00",
"end_date": "2030-01-01",
"expired_days": null,
"expired_type": 2,
"id": 560909627,
"name": "\u62bd\u5956\u5238",
"order_type_limit": null,
"person_number_limit": 0,
"start_date": "2023-01-01",
"status": 1,
"threshold_amount": "0.00"
},
"coupon_id": 560909627,
"end_date": "2030-01-01",
"id": 560909618,
"start_date": "2023-01-01",
"used_datetime": null,
"used_status": 1,
"user_id": 560909624
}
],
"message": ""
}
修改于 2023-05-12 02:33:22