Get Issued Coupon Info

GET /api/coupons/{coupon_id}/users/{user_id}

<사용자가 발급 받은 쿠폰의 유저 별 상세 정보를 조회>

Headers

Name
Value

Authorization

Bearer <token>

Authority

Role
Description

MANAGER

모든 유저 별 쿠폰 상세 내역 조회 가능

CUSTOMER

본인이 발급 받은 쿠폰의 상세 내역만 조회 가능

Response

```json
{
    "status": "success",
    "message": "OK",
    "data": {
        "couponId": "d632904a-b274-48f1-a761-6681a31968a4",
        "couponName": "Spring Festival Discount",
        "discountInfo": {
            "discountAmount": 50,
            "discountPolicy": "PERCENTAGE",
            "maxDiscountPrice": 0
        },
        "issuedDate": [
            2024,
            10,
            16,
            9,
            37,
            34,
            327596000
        ],
        "expirationDate": [
            2024,
            11,
            15,
            23,
            59,
            59
        ],
        "usageCount": 0,
        "usageLimit": 5,
        "target": "ALL",
        "concertList": null,
        "usable": true
    }
}
```

Last updated