# Схема: PromoCodeCreateRequest

Source: <https://telegafirst.com/docs/schema-c8b6a2eae088d9e53b1c2306edba9951da74f0f89b8aa984208b08953eb613c9>
Locale: ru
releaseGitSha: 005a4dc9d76f69a0815df4e3f98b9050d4d46afb
sourceContentDigest: e6c07a1caba7d2c46b2a7098683ff18f0b015d298ad71d6e4fbcd289e70a997e
Version: 7

# Схема: 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" |
