---
title: "DiscountCodes (Roller)"
description: "\uD560\uC778 \uCF54\uB4DC"
language: ko
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/ko/datamodels/roller/Roller.Data.DiscountCodes
original: https://documentation.invantive.eu/en/datamodels/roller/Roller.Data.DiscountCodes
updated: 2026-12-04T07:58:56Z
license: https://documentation.invantive.eu/ko/
---

# DiscountCodes: Roller 할인 코드

`read only` `REST`

- 카탈로그: `Roller`
- 스키마: `Data`
- 레이블: 할인 코드

데이터만 조회할 수 있습니다.

## API 소스

- 종점: `data/discounts`

## 표의 열

표 `DiscountCodes`의 열은 다음과 같습니다. 각 열에는 SQL 데이터 유형이 지정되어 있습니다. 삽입 및 업데이트 작업 중에는 항상 모든 필수 열에 대해 null이 아닌 새로운 값을 지정해야 합니다.

| 이름 | 데이터 유형 | 라벨 | 필요한 공간 | 점수 | 문서 |
|---|---|---|:---:|---|---|
| `discountCode` | `varchar2` | 할인 코드 | [x] | 플랫폼의 필터, 쓰기 가능, `::self` | 할인 코드. |
| `discount_amountOff` | `decimal` | itgen_rlr_discount_amountoff | [ ] | 플랫폼의 필터, 쓰기 가능, `::ancestor.amountOff` | 제품 비용에서 차감되는 금액(달러). |
| `discount_bookingDateRestrictionDateRangeDays` | `varchar2` | itgen_rlr_discount_bookingdaterestrictiondaterangedays | [ ] | 플랫폼의 필터, 쓰기 가능, `::ancestor.bookingDateRestrictions.dateRange.days` | 이 할인을 적용할 수 있는 예약 날짜입니다. 예약이 생성된 날짜가 아니라 예약 대상 날짜를 의미합니다. |
| `discount_bookingDateRestrictionDateRangeEndDate` | `datetime` | itgen_rlr_discount_bookingdaterestrictiondaterangeenddate | [ ] | 플랫폼의 필터, 쓰기 가능, `::ancestor.bookingDateRestrictions.dateRange.endDate` | 이 할인을 적용할 수 있는 예약 날짜입니다. 예약이 생성된 날짜가 아니라 예약 대상 날짜를 의미합니다. |
| `discount_bookingDateRestrictionDteRangeStartDate` | `datetime` | itgen_rlr_discount_bookingdaterestrictiondterangestartdate | [ ] | 플랫폼의 필터, 쓰기 가능, `::ancestor.bookingDateRestrictions.dateRange.startDate` | 이 할인을 적용할 수 있는 예약 날짜입니다. 예약이 생성된 날짜가 아니라 예약 대상 날짜를 의미합니다. |
| `discount_bookingDateRestrictionFromNumber` | `varchar2` | itgen_rlr_discount_bookingdaterestrictionfromnumber | [ ] | 플랫폼의 필터, 쓰기 가능, `::ancestor.bookingDateRestrictions.from.number` | 이 할인을 적용할 수 있는 예약 날짜입니다. 예약이 생성된 날짜가 아니라 예약 대상 날짜를 의미합니다. |
| `discount_bookingDateRestrictionFromType` | `varchar2` | itgen_rlr_discount_bookingdaterestrictionfromtype | [ ] | 플랫폼의 필터, 쓰기 가능, `::ancestor.bookingDateRestrictions.from.type` | 이 할인을 적용할 수 있는 예약 날짜입니다. 예약이 생성된 날짜가 아니라 예약 대상 날짜를 의미합니다. |
| `discount_bookingRuleNumberOfUses` | `varchar2` | itgen_rlr_discount_bookingrulenumberofuses | [ ] | 플랫폼의 필터, 쓰기 가능, `::ancestor.bookingRule.numberOfUses` | 예약당 각 코드의 사용 한도 |
| `discount_bookingRuleType` | `varchar2` | itgen_rlr_discount_bookingruletype | [ ] | 플랫폼의 필터, 쓰기 가능, `::ancestor.bookingRule.type` | 1 = 선택한 제품 전체에 걸쳐 적용(구매 수량이 사용 횟수에 포함됨). |
| `discount_codeGenerationMode` | `varchar2` | itgen_rlr_discount_codegenerationmode | [x] | 플랫폼의 필터, 쓰기 가능, `::ancestor.codeGenerationMode` | 할인 코드가 생성되는 방식. |
| `discount_discountId` | `varchar2` | itgen_rlr_discount_discountid | [x] | 플랫폼의 필터, 쓰기 가능, `::ancestor.discountId` | 할인의 고유 식별자. |
| `discount_endDate` | `datetime` | itgen_rlr_discount_enddate | [ ] | 플랫폼의 필터, 쓰기 가능, `::ancestor.endDate` | 할인을 사용할 수 있는 마지막 날짜. |
| `discount_isSingleUseCode` | `char` | itgen_rlr_discount_issingleusecode | [x] | 플랫폼의 필터, 쓰기 가능, `::ancestor.isSingleUseCode` | true인 경우 이 할인의 코드는 한 번만 사용할 수 있습니다. |
| `discount_maxApplicableAmount` | `decimal` | itgen_rlr_discount_maxapplicableamount | [ ] | 플랫폼의 필터, 쓰기 가능, `::ancestor.maxApplicableAmount` | 이 할인을 사용하여 예약에 적용할 수 있는 최대 할인 금액. |
| `discount_name` | `varchar2` | itgen_rlr_discount_name | [x] | 플랫폼의 필터, 쓰기 가능, `::ancestor.name` | 할인 이름. |
| `discount_percentOff` | `decimal` | itgen_rlr_discount_percentoff | [ ] | 플랫폼의 필터, 쓰기 가능, `::ancestor.percentOff` | 제품 비용에서 차감되는 비율(%). |
| `discount_startDate` | `datetime` | itgen_rlr_discount_startdate | [ ] | 플랫폼의 필터, 쓰기 가능, `::ancestor.startDate` | 할인을 사용할 수 있는 첫 날짜. |
| `discount_usageLimitNumberOfUses` | `varchar2` | itgen_rlr_discount_usagelimitnumberofuses | [ ] | 플랫폼의 필터, 쓰기 가능, `::ancestor.usageLimits.numberOfUses` | 각 코드의 총 사용 한도. |
| `discount_usageLimitType` | `varchar2` | itgen_rlr_discount_usagelimittype | [ ] | 플랫폼의 필터, 쓰기 가능, `::ancestor.usageLimits.type` | 0 = 코드별, 1 = 사용자별, 2 = 선택한 각 제품별(구매 수량과 무관), 3 = 선택한 제품 전체에 걸쳐(구매 수량이 사용 횟수에 포함됨), 4 = 코드별 일일, 5 = 코드별 주간, 6 = 코드별 월간, 7 = 코드별 연간. |

## 키

| 키 | 칼럼 | 다음과 관련된 레퍼런스 | 종류 | 설명 |
|---|---|---|---|---|
| `DiscountCodes_discount_discountId_fk` | `discount_discountId` | [Discounts](Roller.Data.Discounts)`.discountId` | 키 |  |


## 릴리즈 노트

드라이버의 테이블, 열, 속성 및 기능에서 릴리스별로 변경된 사항은 다음과 같습니다.

- [Roller](/ko/release-notes/drivers/roller)
