查询券模板列表
POST
/open/v1/crm/coupon/page(下行接口)客如云提供查询券模板列表
请求参数
Body 参数application/json
brandId
integer
客如云品牌Id
couponTypeList
array[integer]
可选
优惠券类型((2, 折扣券),(3, 礼品券),(4, 代金券))
validDateTypeList
array[integer]
可选
有效期类型((1, 相对日期), (2, 绝对日期))
pageSize
integer
可选
每页数量,默认20条
currentPage
integer
页码
示例
{
"brandId": 2479,
"couponTypeList": [
1
],
"validDateTypeList": [
1
],
"pageSize": 20,
"currentPage": 1
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
message
string
必需
messageUuid
string
必需
result
#/definitions/2356398必需
示例
{
"code": 0,
"message": "string",
"messageUuid": "string",
"result": {
"id": 11122,
"name": "优惠券",
"couponType": "1",
"status": 0,
"denominationType": "1",
"denominationValue": 500
}
}
修改于 3 年前