券项目列表
POST
/fast-service/v1/0.0/api/coupon/project/list
卡券场景
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api-vpjq75s2e4.kylin.shuyun.com/fast-service/v1/0.0/api/coupon/project/list' \
--header 'Authorization;' \
--header 'X-Caller-Service: ' \
--header 'X-Caller-sign: ' \
--header 'X-Caller-Timestamp: ' \
--header 'X-Caller-Sign: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"bizCode": "CTFCN",
"requestChannel": "WECHAT",
"requestSystem": "WECHAT_MALL",
"transactionId": "TX2024030490569",
"page": 0,
"pageSize": 20,
"queryParams": "{\"benefitGrade\":{\"EQ\":\"Tier0\"},\"type\":{\"EQ\":\"RegisterGift\"},\"status\":{\"EQ\":\"RELEASED\"}}",
"sortBy": "updateTime",
"sortType": "DESC"
}'
响应示例响应示例
{
"success": true,
"code": "000000",
"message": "成功",
"data": {
"page": 0,
"pageSize": 20,
"total": 1,
"data": [
{
"includeShops": null,
"excludeShops": null,
"includeGoods": null,
"excludeGoods": null,
"id": "dadgz6hi",
"branch": "dadgz6hi",
"title": "王乾测试资格券-续会好礼",
"kind": "",
"campaignTitle": "王乾测试资格券",
"description": null,
"status": "RELEASED",
"restrict": null,
"grantRestrict": {
"startAt": "2025-01-01 16:03:29",
"endAt": "2025-03-01 16:03:34",
"platformsRef": null,
"invokeNum": null,
"invokeNumByUserPerDay": null,
"invokeNumByPerDay": null
},
"useRestrict": {
"shopsRefType": null,
"shopsRef": null,
"platformsRef": null,
"goodsRefType": null,
"goodsRef": null,
"startAt": "2025-01-01 16:03:49",
"endAt": "2025-03-01 16:03:56",
"invokeNumByUserPerDay": null,
"wait": null,
"timeType": "FIXED_TIME",
"timeCycle": null
},
"cancelUseRestrict": {
"invokeNum": 1,
"invokeNumByUserPerDay": null,
"startAt": "2025-01-01 16:04:00",
"endAt": "2025-03-01 16:04:06"
},
"updateAt": "2025-01-09 10:12:43",
"maxQuantity": 100,
"useCountRestrict": 1,
"transferable": null,
"type": "RenewalGift",
"discount": null,
"exchange": {
"goods": "5",
"num": null,
"maxPerGoods": null
},
"maxOverlayNum": null,
"combinationEnabled": false,
"grantedCount": 0,
"usedCount": 0,
"reminderBeforeExpirationEnable": true,
"reminderBeforeExpiration": {
"year": null,
"quarter": null,
"month": null,
"week": null,
"day": 7,
"hour": null,
"minute": null,
"second": null
},
"effectPeriod": {
"type": "RELATIVE_TIME",
"fixed": null,
"relatives": [
{
"scene": "activate",
"duration": {
"year": null,
"quarter": null,
"month": null,
"week": null,
"day": null,
"hour": null,
"minute": null,
"second": 0
},
"toDayBegin": false,
"toDayEnd": null,
"fixedPart": null
}
]
},
"expiredPeriod": {
"type": "RELATIVE_TIME",
"fixed": null,
"relatives": [
{
"scene": "grant",
"duration": {
"year": null,
"quarter": null,
"month": 1,
"week": null,
"day": null,
"hour": null,
"minute": null,
"second": null
},
"toDayBegin": null,
"toDayEnd": false,
"fixedPart": null
}
]
},
"template": "deyc9o1r",
"codeMaker": "3rwu3e",
"effectRestrict": null,
"expireRestrict": null,
"previous": null,
"program": "dmcirekx",
"subOrderShareDiscount": null,
"combinationType": "NO_OVERLAY",
"storeDirectDistribution": null,
"transferRestrict": null,
"transferPeriod": null,
"weiMob": null,
"weChatPayCouponStocks": null,
"couponCost": null,
"positivePriceGoods": null,
"payBenefit": null,
"storeLimitNum": null,
"orderDeductList": null,
"materialImage": null,
"createNow": false,
"activateNow": false,
"subject": "dm3dgd27",
"benefitGrade": "Tier1",
"fqn": "benefit.dadgz6hi",
"code": "dadgz6hi",
"builtIn": false,
"origin": "dadgz6hi",
"insertAt": "2025-01-09T02:12:43.439Z",
"_i18nPayload": {
"title": {
"zh-CN": "王乾测试资格券-续会好礼"
},
"campaignTitle": {
"zh-CN": "王乾测试资格券"
},
"description": {}
},
"available": true,
"annotations": {
"exchange.goodsselectorValueText": "已选中 1 条数据"
},
"displayPriority": 1,
"orgSystemCode": "0-",
"explanation": "王乾测试资格券补充说明",
"releaseAt": "2025-01-09T02:12:43.438Z",
"createAt": "2025-01-09T02:12:20.786Z",
"templateSnapshotId": "shotau8e",
"updateBy": "wangqian",
"codeExtOn": false,
"audit": {
"releaseAt": "2025-01-09T02:12:43.437Z",
"releaseBy": "wangqian"
},
"ifPopup": true,
"displayEndTime": "2025-03-31T08:02:29.000Z",
"product": "deyc9o1r",
"dataVersion": 0,
"statusOfUse": "RELEASED",
"module": "benefit",
"pictureUrl": "http://content-management.shuyun.com/ad7ac8d0-fc53-4c30-b305-fb914ca550bc.png",
"benefitGroup": "ExclusiveTreats",
"displayStartTime": "2025-01-01T08:02:23.000Z",
"releaseBy": "wangqian",
"extSet": "benefit.project",
"updateById": "67",
"createBy": "wangqian",
"statusOfEdit": "RELEASED",
"domain": "benefit",
"benefitDesc": "王乾测试资格券权益描述\n",
"createById": "67",
"since": "1.0"
}
]
}
}
请求参数
Header 参数
Authorization
string
必需
默认值:
Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJicmFuY2hfMzgxMCIsImF1ZCI6InNtYXJ0X3BvcnRhbF91YXQiLCJpc3MiOiJzc28iLCJpcF9hZGRyZXNzIjoiMTAuMjAwLjE4MC43NiIsImV4cCI6MTczOTc5ODIzMCwiYnJhbmNoIjoiMzgxMCIsImlhdCI6MTczOTc5MTAzMH0.jqwTnQ0ah3k94Yjpn7hw91QtmKwsvXhjyibZpXDrGifaBcvzPdz8MjCg66FUohyKTS4ciZILl6xXJ5a1pQ_iIg
X-Caller-Service
string
可选
默认值:
{{caller}}
X-Caller-sign
string
可选
默认值:
{{sign}}
X-Caller-Timestamp
string
可选
默认值:
{{currentTime}}
X-Caller-Sign
string
网关签名
默认值:
{{sign}}
Body 参数application/json