查询优惠券列表
测试环境
测试环境
POST
/open/v1/crm/fetchCoupInstanceList
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://gldopenapi.keruyun.com/open/v1/crm/fetchCoupInstanceList?appKey=&shopIdenty=&brandId=&version=×tamp=&sign=' \
--header 'Content-Type: application/json' \
--data-raw '{
"customerId": 888893406139,
"couponStatus": [
1,
2
],
"couponTypes": [
1
],
"page": 1,
"pageSize": 12
}'
响应示例响应示例
{
"code": "1",
"result": {
"currentPage": 1,
"pageSize": 10,
"totalRows": 11,
"startRow": 0,
"totalPage": 2,
"items": [
{
"codeNumber": 3268120690040015,
"couponType": 1,
"id": 1657945,
"couponName": "oetuaoetn",
"ruleDesc": "满12减1",
"periodStart": "00:00:00",
"periodEnd": "23:59:00",
"week": "1111111",
"usableCommercialDesc": "仅限重庆冷锅鱼5,重庆冷锅鱼2,重庆冷锅鱼,重庆冷锅鱼1\",重庆冷锅鱼('小猪店),重庆冷锅鱼重庆冷锅4,重庆冷锅鱼1号店,重庆\"冷锅鱼2\"号店,重庆冷锅鱼4号店haohaohoa",
"usableCommercialIdList": [
880000880,
800000098,
800000096,
800000095,
810002316,
810004945,
810005934,
810005935,
810005937
],
"couponStatus": 3
},
{
"codeNumber": 3268125450090017,
"couponType": 3,
"id": 1659520,
"couponName": "aaaqqqq",
"ruleDesc": "满0元可用",
"periodStart": "00:00:00",
"periodEnd": "23:59:00",
"week": "1111111",
"usableCommercialDesc": "仅限重庆冷锅鱼5,重庆冷锅鱼2,重庆冷锅鱼,重庆冷锅鱼1\",重庆冷锅鱼('小猪店),重庆冷锅鱼重庆冷锅4,重庆冷锅鱼1号店,重庆\"冷锅鱼2\"号店,重庆冷锅鱼4号店haohaohoa",
"usableCommercialIdList": [
880000880,
800000098,
800000096,
800000095,
810002316,
810004945,
810005934,
810005935,
810005937
],
"couponStatus": 3
}
]
}
}
请求参数
Query 参数
appKey
string
必需
默认值:
{{appKey}}
shopIdenty
string
必需
默认值:
{{shopIdenty}}
brandId
string
必需
默认值:
{{brandId}}
version
string
必需
默认值:
2.0
timestamp
string
必需
默认值:
{{timestamp}}
sign
string
必需
默认值:
{{sign}}
Body 参数application/json
返回响应
修改于 2021-12-16 06:36:25