# Схема: PromoCodesResult

Source: <https://telegafirst.com/docs/schema-84d94450efb4efc8857c47d1e94baca70dcc85fde30af3708964ebdc7ec344ae>
Locale: ru
releaseGitSha: 005a4dc9d76f69a0815df4e3f98b9050d4d46afb
sourceContentDigest: 3f7c48f7ee8edc3c3410f73e19f0b964bfe97baf33aad9b05ebdff2ee4f63192
Version: 7

# Схема: PromoCodesResult

| Поле | Значение |
| - | - |
| additionalProperties | false |
| properties.id.maximum | 2147483647 |
| properties.id.minimum | 1 |
| properties.id.type | "integer" |
| properties.next\_after\_id.maximum | 2147483647 |
| properties.next\_after\_id.minimum | 1 |
| properties.next\_after\_id.type | \["integer","null"] |
| properties.outcome.enum | \["deleted","deactivated"] |
| properties.outcome.type | "string" |
| properties.promo\_code.additionalProperties | false |
| properties.promo\_code.properties.created\_at.type | "string" |
| properties.promo\_code.properties.currency.type | \["string","null"] |
| properties.promo\_code.properties.id.maximum | 2147483647 |
| properties.promo\_code.properties.id.minimum | 1 |
| properties.promo\_code.properties.id.type | "integer" |
| properties.promo\_code.properties.is\_active.type | "boolean" |
| properties.promo\_code.properties.is\_paused.type | "boolean" |
| properties.promo\_code.properties.kind.enum | \["percent","fixed"] |
| properties.promo\_code.properties.kind.type | "string" |
| properties.promo\_code.properties.limit\_per\_user.type | \["integer","null"] |
| properties.promo\_code.properties.limit\_total.type | \["integer","null"] |
| properties.promo\_code.properties.scope.enum | \["order","catalog\_ids","group\_ids"] |
| properties.promo\_code.properties.scope.type | "string" |
| properties.promo\_code.properties.scope\_refs.items.maximum | 2147483647 |
| properties.promo\_code.properties.scope\_refs.items.minimum | 1 |
| properties.promo\_code.properties.scope\_refs.items.type | "integer" |
| properties.promo\_code.properties.scope\_refs.type | "array" |
| properties.promo\_code.properties.text.type | "string" |
| properties.promo\_code.properties.valid\_from.type | \["string","null"] |
| properties.promo\_code.properties.valid\_until.type | \["string","null"] |
| properties.promo\_code.properties.value.type | "string" |
| properties.promo\_code.properties.version.minimum | 0 |
| properties.promo\_code.properties.version.type | "integer" |
| properties.promo\_code.required | \["id","text","kind","value","currency","scope","scope\_refs","limit\_total","limit\_per\_user","valid\_from","valid\_until","is\_active","is\_paused","created\_at","version"] |
| properties.promo\_code.type | "object" |
| properties.promo\_codes.items.additionalProperties | false |
| properties.promo\_codes.items.properties.created\_at.type | "string" |
| properties.promo\_codes.items.properties.currency.type | \["string","null"] |
| properties.promo\_codes.items.properties.id.maximum | 2147483647 |
| properties.promo\_codes.items.properties.id.minimum | 1 |
| properties.promo\_codes.items.properties.id.type | "integer" |
| properties.promo\_codes.items.properties.is\_active.type | "boolean" |
| properties.promo\_codes.items.properties.is\_paused.type | "boolean" |
| properties.promo\_codes.items.properties.kind.enum | \["percent","fixed"] |
| properties.promo\_codes.items.properties.kind.type | "string" |
| properties.promo\_codes.items.properties.limit\_per\_user.type | \["integer","null"] |
| properties.promo\_codes.items.properties.limit\_total.type | \["integer","null"] |
| properties.promo\_codes.items.properties.scope.enum | \["order","catalog\_ids","group\_ids"] |
| properties.promo\_codes.items.properties.scope.type | "string" |
| properties.promo\_codes.items.properties.scope\_refs.items.maximum | 2147483647 |
| properties.promo\_codes.items.properties.scope\_refs.items.minimum | 1 |
| properties.promo\_codes.items.properties.scope\_refs.items.type | "integer" |
| properties.promo\_codes.items.properties.scope\_refs.type | "array" |
| properties.promo\_codes.items.properties.text.type | "string" |
| properties.promo\_codes.items.properties.valid\_from.type | \["string","null"] |
| properties.promo\_codes.items.properties.valid\_until.type | \["string","null"] |
| properties.promo\_codes.items.properties.value.type | "string" |
| properties.promo\_codes.items.properties.version.minimum | 0 |
| properties.promo\_codes.items.properties.version.type | "integer" |
| properties.promo\_codes.items.required | \["id","text","kind","value","currency","scope","scope\_refs","limit\_total","limit\_per\_user","valid\_from","valid\_until","is\_active","is\_paused","created\_at","version"] |
| properties.promo\_codes.items.type | "object" |
| properties.promo\_codes.type | "array" |
| properties.usage.additionalProperties | false |
| properties.usage.properties.id.maximum | 2147483647 |
| properties.usage.properties.id.minimum | 1 |
| properties.usage.properties.id.type | "integer" |
| properties.usage.properties.limit\_per\_user.type | \["integer","null"] |
| properties.usage.properties.limit\_total.type | \["integer","null"] |
| properties.usage.properties.refunded.type | "integer" |
| properties.usage.properties.released.type | "integer" |
| properties.usage.properties.remaining.type | \["integer","null"] |
| properties.usage.properties.reserved.type | "integer" |
| properties.usage.properties.used.type | "integer" |
| properties.usage.required | \["id","limit\_total","limit\_per\_user","reserved","used","released","refunded","remaining"] |
| properties.usage.type | "object" |
| type | "object" |
