- 官方AI产品模块
- AI角色预设模块
- AI产品模块
- AI提示模块
- 应用模块
- 内容模块
- 商家地址库
- 权益卡模块
- 客服模块
- 公共模块
- 短信模块
- 系统公告模块
- 门店模块
- 商品模块
- 营销模块
- 售后服务模块
- 购物车模块
- 包裹物流模块
- 订单模块
- 支付模块
- 礼品模块
- 搜索模块
- 用户AI模块
- 用户会员模块
- 用户优惠券模块
- 分销员模块
- 用户收藏模块
- 用户登录模块
- 用户退出登录模块
- 用户订单模块
- 会员充值模块
- 用户注册模块
- 用户微信模块
- 用户提现模块
获取优惠券列表
GET
https://api.shakingcloud.com/api/mkt/coupon/list
营销模块
请求参数
Query 参数
type
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/mkt/coupon/list?type='
返回响应
🟢200OK
application/json
Body
attributes
object
可选
code
string
可选
data
array[object (Coupon) {50}]
可选
afterDays
integer <int32>
可选
amount
number
可选
beginDate
string <date-time>
可选
cost
number
可选
createDate
string <date-time>
可选
createStr
string
可选
days
integer <int32>
可选
discount
number
可选
discountOverlyings
string
可选
endDate
string <date-time>
可选
expired
boolean
可选
expiredBeforeDays
integer <int32>
可选
expiredRemind
boolean
可选
introduction
string
可选
isCampaign
boolean
可选
isEnabled
boolean
可选
isExchange
boolean
可选
isPublic
boolean
可选
isShare
boolean
可选
isSyncWx
boolean
可选
key
string
可选
limitTimes
boolean
可选
maxAmount
number
可选
maxPiece
number
可选
memo
string
可选
modifyDate
string <date-time>
可选
name
string
可选
obtainedQuantity
integer <int32>
可选
orderAmount
number
可选
points
integer <int32>
可选
prefix
string
可选
status
enum<string>
可选
枚举值:
doingstopexpired
stock
integer <int32>
可选
telephone
string
可选
timesRule
string
可选
tkey
string
可选
topLimit
enum<string>
可选
枚举值:
unlimitedmaxAmountmaxPiece
type
enum<string>
可选
枚举值:
voucherdiscountexchange
upFilterMode
enum<string>
可选
枚举值:
directlycondition
usableCard
enum<string>
可选
枚举值:
allusabledisabled
usableProduct
enum<string>
可选
枚举值:
allusabledisabled
usableStore
enum<string>
可选
枚举值:
allusabledisabled
usableUser
enum<string>
可选
枚举值:
allUserusableUserdisabledUserallMemberusableMemberdisabledMember
usedQuantity
integer <int32>
可选
uuFilterMode
enum<string>
可选
枚举值:
directlycondition
validDateType
enum<string>
可选
枚举值:
fixedobtainAfter
verifyWay
string
可选
wxCouponColor
string
可选
wxCouponSubtitle
string
可选
wxCouponTitle
string
可选
msg
string
可选
success
boolean
可选
totalCount
integer <int64>
可选
示例
{
"attributes": {},
"code": "string",
"data": [
{
"afterDays": 0,
"amount": 0,
"beginDate": "2019-08-24T14:15:22Z",
"cost": 0,
"createDate": "2019-08-24T14:15:22Z",
"createStr": "string",
"days": 0,
"discount": 0,
"discountOverlyings": "string",
"endDate": "2019-08-24T14:15:22Z",
"expired": true,
"expiredBeforeDays": 0,
"expiredRemind": true,
"introduction": "string",
"isCampaign": true,
"isEnabled": true,
"isExchange": true,
"isPublic": true,
"isShare": true,
"isSyncWx": true,
"key": "string",
"limitTimes": true,
"maxAmount": 0,
"maxPiece": 0,
"memo": "string",
"modifyDate": "2019-08-24T14:15:22Z",
"name": "string",
"obtainedQuantity": 0,
"orderAmount": 0,
"points": 0,
"prefix": "string",
"status": "doing",
"stock": 0,
"telephone": "string",
"timesRule": "string",
"tkey": "string",
"topLimit": "unlimited",
"type": "voucher",
"upFilterMode": "directly",
"usableCard": "all",
"usableProduct": "all",
"usableStore": "all",
"usableUser": "allUser",
"usedQuantity": 0,
"uuFilterMode": "directly",
"validDateType": "fixed",
"verifyWay": "string",
"wxCouponColor": "string",
"wxCouponSubtitle": "string",
"wxCouponTitle": "string"
}
],
"msg": "string",
"success": true,
"totalCount": 0
}
🟠401Unauthorized
🟠403Forbidden
🟠404Not Found
修改于 2023-06-19 03:50:23