# 쿠폰 프로모션 업데이트 쿠폰 프로모션을 업데이트합니다. Endpoint: PUT /v3/project/{project_id}/admin/coupon/{external_id} Version: 2.0.0 Security: basicAuth ## Path parameters: - `project_id` (integer, required) 프로젝트 ID입니다. 이 매개 변수는 관리자 페이지의 프로젝트 이름 옆에서 확인할 수 있습니다. Example: 44056 - `external_id` (integer, required) 프로모션 외부 ID입니다. 프로젝트 내부의 고유 프로모션 식별자입니다. Example: "coupon_44056_1" ## Request fields (application/json): - `attribute_conditions` (array) 사용자 특성 검증 조건. 사용자 특성이 지정된 모든 조건과 일치하는지 여부에 따라 프로모션의 가용성을 결정합니다. - `bonus` (array,null) - `bonus.quantity` (number) 아이템 수량입니다. - `bonus.sku` (string) 아이템 SKU입니다. - `name` (object, required) 프로모션의 이름입니다. 키가 "^[a-z]{2}-[A-Z]{2}$" 형식의 로케일인 키/값 쌍을 포함해야 하며 값은 문자열입니다. Example: {"de-DE":"Gutscheintitel","en-US":"Coupon title"} - `promotion_periods` (array) 프로모션의 유효 기간. 기간이 여러 개 지정된 경우 date_from와 date_until가 모두 필요합니다. - `promotion_periods.date_from` (string, required) 지정된 프로모션의 시작 날짜. Example: "2020-08-11T10:00:00+03:00" - `promotion_periods.date_until` (string,null) 지정된 프로모션의 종료 날짜. null로 설정된 경우 프로모션은 무기한입니다. 단일 유효 기간이 지정된 경우에만 null로 설정할 수 있습니다. Example: "2020-08-11T20:00:00+03:00" - `redeem_code_limit` (integer,null) 코드당 사용 횟수입니다. Example: 10 - `redeem_total_limit` (integer,null) 총 쿠폰 수를 제한합니다. Example: 10 - `redeem_user_limit` (integer,null) 단일 사용자가 사용한 총 쿠폰 수를 제한합니다. Example: 10 ## Response 401 fields (application/json): - `errorCode` (integer) Example: 1020 - `errorMessage` (string) Example: "[0401-1020]: Error in Authentication method occurred" - `statusCode` (integer) Example: 401 ## Response 404 fields (application/json): - `errorCode` (integer) Example: 4001 - `errorMessage` (string) Example: "[0401-9802]: Coupon not found" - `statusCode` (integer) Example: 404 - `transactionId` (string) Example: "x-x-x-x-transactionId-mock-x-x-x" ## Response 422 fields (application/json): - `errorCode` (integer) Example: 1102 - `errorMessage` (string) Example: "[0401-1102]: Unprocessable Entity. The property `external_id` is required" - `statusCode` (integer) Example: 422 ## Response 204 fields