# 보너스 프로모션 가져오기 보너스 프로모션을 가져옵니다. 프로모션은 사용자가 구매한 구매 항목에 무료 보너스 아이템을 추가합니다. 프로모션은 프로젝트 내의 모든 구매 또는 특정 아이템을 포함하는 구매에 적용할 수 있습니다. Endpoint: GET /v3/project/{project_id}/admin/promotion/{promotion_id}/bonus Version: 2.0.0 Security: basicAuth ## Path parameters: - `project_id` (integer, required) 프로젝트 ID입니다. 이 매개 변수는 관리자 페이지의 프로젝트 이름 옆에서 확인할 수 있습니다. Example: 44056 - `promotion_id` (integer, required) 프로모션 ID입니다. 프로젝트 내부의 고유 프로모션 식별자입니다. Example: 111425 ## Response 200 fields (application/json): - `attribute_conditions` (array) 사용자 특성 검증 조건. 사용자 특성이 지정된 모든 조건과 일치하는지 여부에 따라 프로모션의 가용성을 결정합니다. - `bonus` (array,null) - `bonus.quantity` (number) 아이템 수량입니다. - `bonus.sku` (string) 아이템 SKU입니다. - `condition` (array,null) 프로모션을 적용하기 위해 구매 항목에 포함되어야 하는 아이템 세트입니다. 이 매개 변수가 null이면 프로젝트 내의 모든 구매 항목에 프로모션이 적용됩니다. - `excluded_promotions` (array) 이 프로모션을 적용할 때 제외할 프로모션 ID 목록입니다. Example: [12, 789] Example: [12,789] - `id` (integer) 프로모션 ID입니다. 프로젝트 내부의 고유 프로모션 식별자입니다. - `is_enabled` (boolean) - `limits` (object) 프로모션 제한입니다. - `limits.per_item` (integer,null) 전역 항목 제한 사항입니다. Example: 10 - `limits.per_user` (object,null) 개별 사용자에 대한 프로모션 제한입니다. - `limits.per_user.total` (integer) 사용자 한 명이 구매할 수 있는 총 아이템 개수입니다. 관리자 페이지에서 개수를 설정하거나 스토어 엔터티(제한 개체)에 관리 엔드포인트를 사용할 수 있습니다. Example: 5 - `limits.recurrent_schedule` (object,null) 새로고침 기간을 제한합니다. - `limits.recurrent_schedule.per_user` (object) 사용자 제한 새로고침 기간입니다. - `limits.recurrent_schedule.per_user.day_of_month` (integer,null) 제한 설정을 새로고침하는 날짜입니다. 해당 월의 일수가 짧아 선택한 날짜가 없으면 해당 월의 마지막 날에 새로고침합니다. monthly 제한 설정 새로고침 기간 유형만 null이 아닙니다. - `limits.recurrent_schedule.per_user.day_of_week` (integer,null) 제한을 새로고침하는 요일입니다. 여기서 1은 월요일이고 7은 일요일입니다. weekly 제한 설정 새로고침 기간 유형만 null이 아닙니다. - `limits.recurrent_schedule.per_user.displayable_reset_next_date` (string) 제한 설정을 재설정해야 하는 날짜 및 시간입니다(ISO 8601). Example: "2023-02-28T11:00:00+08:00" - `limits.recurrent_schedule.per_user.displayable_reset_start_date` (string) 첫 번째 제한 설정을 새로고침하는 날짜 및 시간입니다(ISO 8601). Example: "2023-02-28T11:00:00+08:00" - `limits.recurrent_schedule.per_user.interval_type` (string) 반복 새로고침 기간 유형입니다. Enum: "daily", "weekly", "monthly" - `limits.recurrent_schedule.per_user.reset_next_date` (integer) 새로고침 제한 설정이 적용되는 날짜 및 시간입니다(Unix 타임스탬프) Example: 1677553200 - `limits.recurrent_schedule.per_user.time` (string) 원하는 시간대의 제한 시간 새로고침 시간입니다(시간 단위로 반올림). Example: "11:00:00+03:00" - `name` (object) 프로모션의 이름입니다. 키가 "^[a-z]{2}-[A-Z]{2}$" 형식의 로케일인 키/값 쌍을 포함해야 하며 값은 문자열입니다. Example: {"de-DE":"Sommersaison Bonus","en-US":"Summer season bonus"} - `price_conditions` (array,null) 프로모션을 적용하기 위한 가격 범위를 설정하는 조건을 가진 개체 배열입니다. 프로모션은 가격이 배열의 모든 조건을 충족하는 아이템에만 적용됩니다. 이 배열을 전달하는 경우 [조건](/ko/api/shop-builder/operation/create-bonus-promotion/#!path=condition&t=request) 개체의 값이 null로 설정됩니다. - `price_conditions.operator` (string, required) 프로모션을 적용하기 위한 가격 범위를 설정하기 위한 비교 연산자입니다. Enum: "ge", "gt", "le", "lt", "eq", "ne" - `price_conditions.value` (string, required) 프로모션을 적용하기 위한 가격 범위를 결정하기 위한 값입니다. - `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" ## 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: 9502 - `errorMessage` (string) Example: "[0401-9502]: Can not find promotion with ID = 111425 in project 59080" - `statusCode` (integer) Example: 404