接口文档 / 营销接口
查询营销卡项列表
响应参数
| 名称 | 说明 | 类型 |
|---|---|---|
| Body 参数 | ||
data可选 | object | |
promotionCards可选 | array<object> | |
total可选 | integer | |
offset可选 | integer | |
limit可选 | integer | |
error可选可为空 | object | |
响应示例
{
"data": {
"promotionCards": [
{
"id": 1809264834875924500,
"name": "测试卡",
"status": 0,
"isNeedCardFee": 1,
"cardFee": 100,
"validityType": 0,
"validityPeriod": 7,
"validityPeriodUnit": 1,
"validityEndDate": "2026-01-01T00:00:00Z"
}
],
"total": 100,
"offset": 0,
"limit": 20
},
"error": null
}业务失败包装示意
{
"data": null,
"error": {
"code": 11003,
"message": "不支持的授权类型{grantType}"
}
}