- 官方AI产品模块
- AI角色预设模块
- AI产品模块
- AI提示模块
- 应用模块
- 内容模块
- 商家地址库
- 权益卡模块
- 客服模块
- 公共模块
- 短信模块
- 系统公告模块
- 门店模块
- 商品模块
- 营销模块
- 售后服务模块
- 购物车模块
- 包裹物流模块
- 订单模块
- 支付模块
- 礼品模块
- 搜索模块
- 用户AI模块
- 用户会员模块
- 用户优惠券模块
- 分销员模块
- 用户收藏模块
- 用户登录模块
- 用户退出登录模块
- 用户订单模块
- 会员充值模块
- 用户注册模块
- 用户微信模块
- 用户提现模块
获取我的优惠券
GET
https://api.shakingcloud.com/api/user/coupon/list
用户优惠券模块
请求参数
Query 参数
isExpired
string
是否已过期
isUsed
string
是否已使用
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.shakingcloud.com/api/user/coupon/list?isExpired=&isUsed='
返回响应
🟢200OK
application/json
Body
attributes
object
可选
code
string
可选
data
array[object (CouponCode) {30}]
可选
amount
number
可选
beginDate
string <date-time>
可选
cardno
string
可选
channel
string
可选
couponId
integer <int64>
可选
couponKey
string
可选
createDate
string <date-time>
可选
createStr
string
可选
deadline
string <date-time>
可选
discount
number
可选
endDate
string <date-time>
可选
key
string
可选
modifyDate
string <date-time>
可选
name
string
可选
obtainWay
enum<string>
可选
枚举值:
personsystem
orderAmount
number
可选
orderSn
string
可选
sn
string
可选
staff
object (Staff)
可选
status
enum<string>
可选
枚举值:
unusedlockedusedrepealexpired
store
object (Store)
可选
tkey
string
可选
type
enum<string>
可选
枚举值:
voucherdiscountexchange
user
object (User)
可选
validDateType
enum<string>
可选
枚举值:
fixedobtainAfter
verifyDate
string <date-time>
可选
verifyStaffId
integer <int64>
可选
verifyStaffKey
string
可选
verifyStoreId
integer <int64>
可选
verifyStoreKey
string
可选
msg
string
可选
success
boolean
可选
totalCount
integer <int64>
可选
示例
{
"attributes": {},
"code": "string",
"data": [
{
"amount": 0,
"beginDate": "2019-08-24T14:15:22Z",
"cardno": "string",
"channel": "string",
"couponId": 0,
"couponKey": "string",
"createDate": "2019-08-24T14:15:22Z",
"createStr": "string",
"deadline": "2019-08-24T14:15:22Z",
"discount": 0,
"endDate": "2019-08-24T14:15:22Z",
"key": "string",
"modifyDate": "2019-08-24T14:15:22Z",
"name": "string",
"obtainWay": "person",
"orderAmount": 0,
"orderSn": "string",
"sn": "string",
"staff": {
"account": "string",
"avatar": "string",
"createDate": "2019-08-24T14:15:22Z",
"createStr": "string",
"departmentId": 0,
"departmentKey": "string",
"email": "string",
"enPassword": "string",
"isAdmin": true,
"isEnabled": true,
"isOwner": true,
"key": "string",
"kingdeeSn": "string",
"mobile": "string",
"modifyDate": "2019-08-24T14:15:22Z",
"name": "string",
"nickname": "string",
"roleId": 0,
"roleKey": "string",
"seller": "string",
"sid": "string",
"sn": "string",
"tkey": "string",
"ukey": "string"
},
"status": "unused",
"store": {
"address": "string",
"areaIds": "string",
"businessEndTime": "2019-08-24T14:15:22Z",
"businessStartTime": "2019-08-24T14:15:22Z",
"code": "string",
"cpc": "string",
"createDate": "2019-08-24T14:15:22Z",
"createStr": "string",
"description": "string",
"distanceStr": "string",
"externalId": "string",
"groupId": 0,
"groupKey": "string",
"image": "string",
"isNearby": true,
"isSelfTake": true,
"key": "string",
"latitude": 0,
"locationIcon": "string",
"longitude": 0,
"managerKey": "string",
"modifyDate": "2019-08-24T14:15:22Z",
"name": "string",
"phoneIcon": "string",
"score": 0,
"telephone": "string",
"tkey": "string"
},
"tkey": "string",
"type": "voucher",
"user": {
"account": "string",
"address": "string",
"app": {
"accessToken": "string",
"accessTokenExpired": "2019-08-24T14:15:22Z",
"appId": "string",
"appKey": "string",
"authAppId": "string",
"authAppSecret": "string",
"authMethod": "appSecret",
"autoOpenMember": "string",
"baiduLinkSubmitAddress": "string",
"buyPointsPagePath": "string",
"cartPageType": "tabbar",
"cartPageUrl": "string",
"createDate": "2019-08-24T14:15:22Z",
"createStr": "string",
"domain": "string",
"douyinQrcode": "string",
"enabledRecharge": true,
"expired": "2019-08-24T14:15:22Z",
"footer": {
"property1": {},
"property2": {}
},
"hasExpired": true,
"header": {
"property1": {},
"property2": {}
},
"introduction": "string",
"isShowCopyright": true,
"jsApiTicket": "string",
"jsApiTicketExpired": "2019-08-24T14:15:22Z",
"key": "string",
"logo": "string",
"modifyDate": "2019-08-24T14:15:22Z",
"name": "string",
"packageName": "string",
"packageUrl": "string",
"payMethods": "string",
"pcDomain": "string",
"productCode": "string",
"productKey": "string",
"productName": "string",
"refreshToken": "string",
"serviceCategory": "string",
"skuKey": "string",
"sort": 0,
"status": "wait",
"tid": 0,
"tkey": "string",
"type": "weixin",
"version": "string",
"versionCode": 0,
"versionIntro": "string",
"websocket": "string",
"wxKfQrcode": "string",
"wxMpQrcode": "string"
},
"appId": "string",
"areaName": "string",
"asset": {
"accuPoints": 0,
"amount": 0,
"balance": 0,
"distributionAmount": 0,
"frozenBalance": 0,
"frozenPoints": 0,
"points": 0,
"rechargeAmount": 0,
"rechargeTimes": 0,
"userId": 0
},
"autograph": "string",
"avatar": "string",
"barcode": "string",
"becomeDistributorDate": "2019-08-24T14:15:22Z",
"birthday": "2019-08-24T14:15:22Z",
"card": {
"activateWay": "obtain",
"background": "string",
"beginDate": "2019-08-24T14:15:22Z",
"benefits": [
{
"benefitCode": "string",
"benefitDisplayName": "string",
"benefitIcon": "string",
"benefitName": "string",
"benefitValue": "string"
}
],
"bgType": "custom",
"cardnoMode": "mobile",
"createDate": "2019-08-24T14:15:22Z",
"createStr": "string",
"days": 0,
"description": "string",
"endDate": "2019-08-24T14:15:22Z",
"instruction": "string",
"introduction": "string",
"isDefault": true,
"isEnabled": true,
"isSyncWx": true,
"key": "string",
"modifyDate": "2019-08-24T14:15:22Z",
"name": "string",
"obtainType": "direct",
"points": 0,
"prefix": "string",
"price": 0,
"profiles": [
{
"attributeKey": "string",
"attributeName": "string",
"cardKey": "string",
"formItemType": "input",
"isRequired": true
}
],
"rankId": 0,
"rankKey": "string",
"remark": "string",
"stock": 0,
"termType": "forever",
"times": 0,
"tkey": "string",
"totalAmount": 0,
"totalPoints": 0,
"type": "FCCard"
},
"cardno": "string",
"childCount": 0,
"createDate": "2019-08-24T14:15:22Z",
"createStr": "string",
"deviceId": "string",
"distributionEnabled": true,
"distributionProfitRatio": 0,
"distributorRankId": 0,
"ellipsisMobile": "string",
"email": "string",
"externalCustomerSn": "string",
"gender": "unknown",
"grade": 0,
"growthValue": "string",
"idCard": "string",
"invitationCode": "string",
"isAuth": true,
"isDistributor": true,
"isEnabled": true,
"isLocked": true,
"isMember": true,
"key": "string",
"lockedDate": "2019-08-24T14:15:22Z",
"loginDate": "2019-08-24T14:15:22Z",
"loginFailureCount": 0,
"loginIp": "string",
"mobile": "string",
"modifyDate": "2019-08-24T14:15:22Z",
"name": "string",
"nickname": "string",
"oauthId": 0,
"parentId": 0,
"parentInviteCode": "string",
"points": 0,
"qrcode": "string",
"rank": {
"background": "string",
"card": {
"activateWay": "obtain",
"background": "string",
"beginDate": "2019-08-24T14:15:22Z",
"benefits": [
{
"benefitCode": "string",
"benefitDisplayName": "string",
"benefitIcon": "string",
"benefitName": "string",
"benefitValue": "string"
}
],
"bgType": "custom",
"cardnoMode": "mobile",
"createDate": "2019-08-24T14:15:22Z",
"createStr": "string",
"days": 0,
"description": "string",
"endDate": "2019-08-24T14:15:22Z",
"instruction": "string",
"introduction": "string",
"isDefault": true,
"isEnabled": true,
"isSyncWx": true,
"key": "string",
"modifyDate": "2019-08-24T14:15:22Z",
"name": "string",
"obtainType": "direct",
"points": 0,
"prefix": "string",
"price": 0,
"profiles": [
{
"attributeKey": "string",
"attributeName": "string",
"cardKey": "string",
"formItemType": "input",
"isRequired": true
}
],
"rankId": 0,
"rankKey": "string",
"remark": "string",
"stock": 0,
"termType": "forever",
"times": 0,
"tkey": "string",
"totalAmount": 0,
"totalPoints": 0,
"type": "FCCard"
},
"cardId": 0,
"cardName": "string",
"createDate": "2019-08-24T14:15:22Z",
"createStr": "string",
"isBinded": true,
"isDefault": true,
"isSpecial": true,
"isSystem": true,
"key": "string",
"maxGrowthValue": 0,
"minGrowthValue": 0,
"modifyDate": "2019-08-24T14:15:22Z",
"name": "string",
"scale": 0,
"tkey": "string"
},
"rankId": 0,
"registerIp": "string",
"registrationId": "string",
"remark": "string",
"sessionKey": "string",
"source": "string",
"tkey": "string",
"tokenExpired": "2019-08-24T14:15:22Z",
"treePath": "string",
"wxMpOpenId": "string"
},
"validDateType": "fixed",
"verifyDate": "2019-08-24T14:15:22Z",
"verifyStaffId": 0,
"verifyStaffKey": "string",
"verifyStoreId": 0,
"verifyStoreKey": "string"
}
],
"msg": "string",
"success": true,
"totalCount": 0
}
🟠401Unauthorized
🟠403Forbidden
🟠404Not Found
修改于 2023-06-19 03:50:23