# Схема: PromoCodeUpdateRequest

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

# Схема: PromoCodeUpdateRequest

| Поле | Значение |
| - | - |
| additionalProperties | false |
| properties.currency.enum | \["RUB","USD","EUR",null] |
| properties.currency.type | \["string","null"] |
| properties.expected\_version.minimum | 0 |
| properties.expected\_version.type | "integer" |
| 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 | \["expected\_version"] |
| type | "object" |
