Update Coupon

PUT /api/coupons/{coupon_id}

<쿠폰 정보 업데이트>

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <token>

Authority

Role
Description

MANAGER

Body

Name
Type
Description

couponName

String

Name of the coupon

discountAmount

Number

할인액 또는 할인비율

discountPolicy

String

할인 정책

  • PERCENTAGE(정률 할인)

  • FIXED(고정 금액 할인)

target

String

쿠폰 적용 대상

  • 모든 공연(ALL)

  • 특정 공연(CONCERT)

  • 특정 등급(SEAT_GRADE)

  • 특정 좌석(SEAT)

startDate

Timestamp

쿠폰 사용 가능 시작 시간

expirationDate

Timestamp

쿠폰 사용 만료 시간

minSpendAmount

Number

최소 사용 금액

maxQuantity

Number

최대 발급 수량

issuedQuantity

Number

발급 가능한 최대 수량, 무제한: -1

usageLimit

Number

한 사용자가 쿠폰을 사용할 수 있는 최대 횟수, 무제한: -1

concertIds

UUID[]

쿠폰 적용 가능한 공연 목록 (target이 모든 공연일 경우 NULL 가능 )

Response

Last updated