К содержанию
TelegaFirst

Для AI-агентов: markdown этой страницы — /docs/schema-c8b6a2eae088d9e53b1c2306edba9951da74f0f89b8aa984208b08953eb613c9.mdиндекс документации — /llms.txt

Схема: PromoCodeCreateRequest

Обновлено

ПолеЗначение
additionalPropertiesfalse
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.maximum2147483647
properties.limit_per_user.minimum1
properties.limit_per_user.type["integer","null"]
properties.limit_total.maximum2147483647
properties.limit_total.minimum1
properties.limit_total.type["integer","null"]
properties.scope.enum["order","catalog_ids","group_ids"]
properties.scope.type"string"
properties.scope_refs.items.maximum2147483647
properties.scope_refs.items.minimum1
properties.scope_refs.items.type"integer"
properties.scope_refs.maxItems100
properties.scope_refs.type"array"
properties.text.maxLength64
properties.text.minLength1
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"