Get Coupon List

GET /api/coupons

<쿠폰 목록 조회>

Params

Name
Type
Description

page

Number

페이지 번호

size

Number

페이지 사이즈: 10, 30, 50 default: 10

sort

String

정렬 기준 필드 default: createdAt

target

string

ALL, EVENT

search

String

couponName에서 포함 여부로 탐색

status

String

ALL, EXPIRED ( Nullable)

isDeleted

String

ALL, DELETED (Nullable)

Response

```json
{
    "status": "success",
    "message": "OK",
    "data": {
        "couponId": "d632904a-b274-48f1-a761-6681a31968a4",
        "couponName": "Spring Festival Discount",
        "discountInfo": {
            "discountAmount": 50,
            "discountPolicy": "PERCENTAGE",
            "maxDiscountPrice": 0
        },
        "startDate": [
            2024,
            10,
            15,
            0,
            0
        ],
        "expirationDate": [
            2024,
            11,
            15,
            23,
            59,
            59
        ],
        "maxQuantity": -1,
        "usageLimit": 5,
        "target": "ALL",
        "concertList": null
    }
}
```

Last updated