# Схема: PromoCodeCreateRequest

Source: <https://telegafirst.com/docs/schema-c8b6a2eae088d9e53b1c2306edba9951da74f0f89b8aa984208b08953eb613c9>
Locale: ru
releaseGitSha: fc570c76ffc9cb87e2462d45b14f5c1b52fbaf0d
sourceContentDigest: d2d753ffa033f7155198f2ffe08aceeeaef3f71cc2e854732522d58bcbaed540
Version: 2

# Схема: PromoCodeCreateRequest

| Поле | Значение |
| - | - |
| additionalProperties | false |
| properties.currency.enum | \["RUB","USD","EUR",null] |
| properties.currency.type | \["string","null"] |
| properties.is\_active.type | "boolean" |
| properties.kind.enum | \["percent","fixed"] |
| properties.kind.type | "string" |
| properties.limit\_per\_user.maximum | 2147483647 |
| properties.limit\_per\_user.minimum | 1 |
| properties.limit\_per\_user.type | \["integer","null"] |
| properties.limit\_total.maximum | 2147483647 |
| properties.limit\_total.minimum | 1 |
| properties.limit\_total.type | \["integer","null"] |
| properties.scope.enum | \["order","catalog\_ids","group\_ids"] |
| properties.scope.type | "string" |
| properties.scope\_refs.items.maximum | 2147483647 |
| properties.scope\_refs.items.minimum | 1 |
| properties.scope\_refs.items.type | "integer" |
| properties.scope\_refs.maxItems | 100 |
| properties.scope\_refs.type | "array" |
| properties.text.maxLength | 64 |
| properties.text.minLength | 1 |
| properties.text.type | "string" |
| properties.valid\_from.format | "date-time" |
| properties.valid\_from.type | \["string","null"] |
| properties.valid\_until.format | "date-time" |
| properties.valid\_until.type | \["string","null"] |
| properties.value.pattern | "^\\\d+(\\\\.\\\d{1,8})?$" |
| properties.value.type | "string" |
| required | \["text","kind","value"] |
| type | "object" |
