# Схема: manage\_promo\_codes: outputSchema

Source: <https://telegafirst.com/docs/schema-82c49ba0f6ee082e3a26823b58bd5db03394e1d70456ce648713f6eff6327e71>
Locale: ru
releaseGitSha: fc570c76ffc9cb87e2462d45b14f5c1b52fbaf0d
sourceContentDigest: fefbae685c71d82c4c706eae876a80ae1410547dbf309428b5c220c4d3386a2e
Version: 2

# Схема: manage\_promo\_codes: outputSchema

| Поле | Значение |
| - | - |
| $schema | "<https://json-schema.org/draft/2020-12/schema>" |
| additionalProperties | false |
| properties.id.maximum | 2147483647 |
| properties.id.minimum | 1 |
| properties.id.type | "integer" |
| properties.next\_after\_id.anyOf.0.maximum | 2147483647 |
| properties.next\_after\_id.anyOf.0.minimum | 1 |
| properties.next\_after\_id.anyOf.0.type | "integer" |
| properties.next\_after\_id.anyOf.1.type | "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.anyOf.0.maximum | 9007199254740991 |
| properties.promo\_code.properties.limit\_per\_user.anyOf.0.minimum | -9007199254740991 |
| properties.promo\_code.properties.limit\_per\_user.anyOf.0.type | "integer" |
| properties.promo\_code.properties.limit\_per\_user.anyOf.1.type | "null" |
| properties.promo\_code.properties.limit\_total.anyOf.0.maximum | 9007199254740991 |
| properties.promo\_code.properties.limit\_total.anyOf.0.minimum | -9007199254740991 |
| properties.promo\_code.properties.limit\_total.anyOf.0.type | "integer" |
| properties.promo\_code.properties.limit\_total.anyOf.1.type | "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.maximum | 9007199254740991 |
| 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.anyOf.0.maximum | 9007199254740991 |
| properties.promo\_codes.items.properties.limit\_per\_user.anyOf.0.minimum | -9007199254740991 |
| properties.promo\_codes.items.properties.limit\_per\_user.anyOf.0.type | "integer" |
| properties.promo\_codes.items.properties.limit\_per\_user.anyOf.1.type | "null" |
| properties.promo\_codes.items.properties.limit\_total.anyOf.0.maximum | 9007199254740991 |
| properties.promo\_codes.items.properties.limit\_total.anyOf.0.minimum | -9007199254740991 |
| properties.promo\_codes.items.properties.limit\_total.anyOf.0.type | "integer" |
| properties.promo\_codes.items.properties.limit\_total.anyOf.1.type | "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.maximum | 9007199254740991 |
| 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.anyOf.0.maximum | 9007199254740991 |
| properties.usage.properties.limit\_per\_user.anyOf.0.minimum | -9007199254740991 |
| properties.usage.properties.limit\_per\_user.anyOf.0.type | "integer" |
| properties.usage.properties.limit\_per\_user.anyOf.1.type | "null" |
| properties.usage.properties.limit\_total.anyOf.0.maximum | 9007199254740991 |
| properties.usage.properties.limit\_total.anyOf.0.minimum | -9007199254740991 |
| properties.usage.properties.limit\_total.anyOf.0.type | "integer" |
| properties.usage.properties.limit\_total.anyOf.1.type | "null" |
| properties.usage.properties.refunded.maximum | 9007199254740991 |
| properties.usage.properties.refunded.minimum | -9007199254740991 |
| properties.usage.properties.refunded.type | "integer" |
| properties.usage.properties.released.maximum | 9007199254740991 |
| properties.usage.properties.released.minimum | -9007199254740991 |
| properties.usage.properties.released.type | "integer" |
| properties.usage.properties.remaining.anyOf.0.maximum | 9007199254740991 |
| properties.usage.properties.remaining.anyOf.0.minimum | -9007199254740991 |
| properties.usage.properties.remaining.anyOf.0.type | "integer" |
| properties.usage.properties.remaining.anyOf.1.type | "null" |
| properties.usage.properties.reserved.maximum | 9007199254740991 |
| properties.usage.properties.reserved.minimum | -9007199254740991 |
| properties.usage.properties.reserved.type | "integer" |
| properties.usage.properties.used.maximum | 9007199254740991 |
| properties.usage.properties.used.minimum | -9007199254740991 |
| 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" |
