# 쿠폰 프로모션 가져오기 지정된 쿠폰 프로모션을 가져옵니다. Endpoint: GET /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" ## Response 200 fields (application/json): - `attribute_conditions` (array) 사용자 특성 검증 조건. 사용자 특성이 지정된 모든 조건과 일치하는지 여부에 따라 프로모션의 가용성을 결정합니다. - `bonus` (array,null) - `bonus.quantity` (number) 아이템 수량입니다. - `bonus.sku` (string) 아이템 SKU입니다. - `external_id` (string) 고유 프로모션 ID입니다. external_id는 소문자 및 대문자 라틴 영숫자, 마침표, 대시 및 밑줄만 포함할 수 있습니다. Example: "coupon_external_id" - `is_enabled` (boolean) - `name` (object) 프로모션의 이름입니다. 키가 "^[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 - `total_limit_state` (object,null) 각 쿠폰 코드별 사용 제한입니다. - `total_limit_state.available` (integer) 쿠폰을 사용할 수 있는 남은 횟수입니다. Example: 3 - `total_limit_state.reserved` (integer) 쿠폰의 예약 횟수입니다. Example: 3 - `total_limit_state.used` (integer) 쿠폰이 사용된 횟수입니다. Example: 5 ## 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"