# Схема: create\_order: inputSchema

Source: <https://telegafirst.com/docs/schema-1c55f9681e1293f73522526331b3d172efec69f97210741377f77f9ebf7cc31a>
Locale: ru
releaseGitSha: ea133cd4ad87fe549ef000b139be145be9bd1717
sourceContentDigest: 43627fe95cdf90bade92c89e11886d097ac73494d44129d2cbc015eef689dbf5
Version: 2

# Схема: create\_order: inputSchema

| Поле | Значение |
| - | - |
| $schema | "<https://json-schema.org/draft/2020-12/schema>" |
| additionalProperties | false |
| properties.accepted\_pricing\_quote.additionalProperties | false |
| properties.accepted\_pricing\_quote.description | "Value for accepted pricing quote." |
| properties.accepted\_pricing\_quote.properties.amount.description | "Value for amount." |
| properties.accepted\_pricing\_quote.properties.amount.minLength | 1 |
| properties.accepted\_pricing\_quote.properties.amount.type | "string" |
| properties.accepted\_pricing\_quote.properties.cart\_version.anyOf.0.description | "Value for cart version option." |
| properties.accepted\_pricing\_quote.properties.cart\_version.anyOf.0.exclusiveMinimum | 0 |
| properties.accepted\_pricing\_quote.properties.cart\_version.anyOf.0.maximum | 9007199254740991 |
| properties.accepted\_pricing\_quote.properties.cart\_version.anyOf.0.type | "integer" |
| properties.accepted\_pricing\_quote.properties.cart\_version.anyOf.1.description | "Value for cart version option." |
| properties.accepted\_pricing\_quote.properties.cart\_version.anyOf.1.type | "null" |
| properties.accepted\_pricing\_quote.properties.cart\_version.description | "Value for cart version." |
| properties.accepted\_pricing\_quote.properties.currency.description | "Value for currency." |
| properties.accepted\_pricing\_quote.properties.currency.enum | \["RUB","USD","EUR","XTR","USDT","TON","BTC","ETH","LTC","BNB","TRX","USDC"] |
| properties.accepted\_pricing\_quote.properties.currency.type | "string" |
| properties.accepted\_pricing\_quote.properties.expires\_at.description | "Value for expires at." |
| properties.accepted\_pricing\_quote.properties.expires\_at.format | "date-time" |
| properties.accepted\_pricing\_quote.properties.expires\_at.pattern | "^(?:(?:\\\d\\\d\[2468]\[048]\|\\\d\\\d\[13579]\[26]\|\\\d\\\d0\[48]\|\[02468]\[048]00\|\[13579]\[26]00)-02-29\|\\\d{4}-(?:(?:0\[13578]\|1\[02])-(?:0\[1-9]\|\[12]\\\d\|3\[01])\|(?:0\[469]\|11)-(?:0\[1-9]\|\[12]\\\d\|30)\|(?:02)-(?:0\[1-9]\|1\\\d\|2\[0-8])))T(?:(?:\[01]\\\d\|2\[0-3]):\[0-5]\\\d(?::\[0-5]\\\d(?:\\\\.\\\d+)?)?(?:Z\|(\[+-]\(?:\[01]\\\d\|2\[0-3]):\[0-5]\\\d)))$" |
| properties.accepted\_pricing\_quote.properties.expires\_at.type | "string" |
| properties.accepted\_pricing\_quote.properties.pricing\_revision.description | "Value for pricing revision." |
| properties.accepted\_pricing\_quote.properties.pricing\_revision.minLength | 1 |
| properties.accepted\_pricing\_quote.properties.pricing\_revision.type | "string" |
| properties.accepted\_pricing\_quote.properties.signature.description | "Value for signature." |
| properties.accepted\_pricing\_quote.properties.signature.minLength | 1 |
| properties.accepted\_pricing\_quote.properties.signature.type | "string" |
| properties.accepted\_pricing\_quote.required | \["cart\_version","pricing\_revision","amount","currency","expires\_at","signature"] |
| properties.accepted\_pricing\_quote.type | "object" |
| properties.bot.description | "Optional slug of the bot you expect to act on (get\_active\_bot). If the active bot differs, the call is refused with ACTIVE\_BOT\_CHANGED and nothing runs." |
| properties.bot.maxLength | 128 |
| properties.bot.minLength | 1 |
| properties.bot.type | "string" |
| properties.buyer\_email.description | "Value for buyer email." |
| properties.buyer\_email.format | "email" |
| properties.buyer\_email.maxLength | 254 |
| properties.buyer\_email.pattern | "^(?!\\\\.)(?!.\*\\\\.\\\\.)(\[A-Za-z0-9\_'+\\\\-\\\\.]\*)\[A-Za-z0-9\_+-]@(\[A-Za-z0-9]\[A-Za-z0-9\\\\-]\*\\\\.)+\[A-Za-z]{2,}$" |
| properties.buyer\_email.type | "string" |
| properties.buyer\_inn.description | "Value for buyer inn." |
| properties.buyer\_inn.pattern | "^\\\d{10}(?:\\\d{2})?$" |
| properties.buyer\_inn.type | "string" |
| properties.buyer\_phone.description | "Value for buyer phone." |
| properties.buyer\_phone.maxLength | 32 |
| properties.buyer\_phone.minLength | 10 |
| properties.buyer\_phone.type | "string" |
| properties.checkout\_notes.description | "Value for checkout notes." |
| properties.checkout\_notes.maxLength | 2000 |
| properties.checkout\_notes.type | "string" |
| properties.delivery\_address.additionalProperties | false |
| properties.delivery\_address.description | "Value for delivery address." |
| properties.delivery\_address.properties.apartment.description | "Value for apartment." |
| properties.delivery\_address.properties.apartment.maxLength | 20 |
| properties.delivery\_address.properties.apartment.type | "string" |
| properties.delivery\_address.properties.building.description | "Value for building." |
| properties.delivery\_address.properties.building.maxLength | 20 |
| properties.delivery\_address.properties.building.type | "string" |
| properties.delivery\_address.properties.city.description | "Value for city." |
| properties.delivery\_address.properties.city.maxLength | 100 |
| properties.delivery\_address.properties.city.minLength | 1 |
| properties.delivery\_address.properties.city.type | "string" |
| properties.delivery\_address.properties.comment.description | "Value for comment." |
| properties.delivery\_address.properties.comment.maxLength | 300 |
| properties.delivery\_address.properties.comment.type | "string" |
| properties.delivery\_address.properties.entrance.description | "Value for entrance." |
| properties.delivery\_address.properties.entrance.maxLength | 10 |
| properties.delivery\_address.properties.entrance.type | "string" |
| properties.delivery\_address.properties.floor.description | "Value for floor." |
| properties.delivery\_address.properties.floor.maxLength | 10 |
| properties.delivery\_address.properties.floor.type | "string" |
| properties.delivery\_address.properties.house.description | "Value for house." |
| properties.delivery\_address.properties.house.maxLength | 20 |
| properties.delivery\_address.properties.house.minLength | 1 |
| properties.delivery\_address.properties.house.type | "string" |
| properties.delivery\_address.properties.intercom.description | "Value for intercom." |
| properties.delivery\_address.properties.intercom.maxLength | 20 |
| properties.delivery\_address.properties.intercom.type | "string" |
| properties.delivery\_address.properties.postal\_code.description | "Value for postal code." |
| properties.delivery\_address.properties.postal\_code.maxLength | 20 |
| properties.delivery\_address.properties.postal\_code.type | "string" |
| properties.delivery\_address.properties.street.description | "Value for street." |
| properties.delivery\_address.properties.street.maxLength | 150 |
| properties.delivery\_address.properties.street.minLength | 1 |
| properties.delivery\_address.properties.street.type | "string" |
| properties.delivery\_address.required | \["city","street","house"] |
| properties.delivery\_address.type | "object" |
| properties.external\_order\_ref.description | "Value for external order ref." |
| properties.external\_order\_ref.maxLength | 255 |
| properties.external\_order\_ref.type | "string" |
| properties.idempotency\_key.description | "Value for idempotency key." |
| properties.idempotency\_key.maxLength | 255 |
| properties.idempotency\_key.minLength | 1 |
| properties.idempotency\_key.type | "string" |
| properties.items.description | "Value for items." |
| properties.items.items.additionalProperties | false |
| properties.items.items.description | "Value for items item." |
| properties.items.items.properties.note.description | "Value for note." |
| properties.items.items.properties.note.maxLength | 500 |
| properties.items.items.properties.note.type | "string" |
| properties.items.items.properties.product\_seq\_id.description | "Value for product seq id." |
| properties.items.items.properties.product\_seq\_id.exclusiveMinimum | 0 |
| properties.items.items.properties.product\_seq\_id.maximum | 9007199254740991 |
| properties.items.items.properties.product\_seq\_id.type | "integer" |
| properties.items.items.properties.quantity.description | "Value for quantity." |
| properties.items.items.properties.quantity.exclusiveMinimum | 0 |
| properties.items.items.properties.quantity.maximum | 9007199254740991 |
| properties.items.items.properties.quantity.type | "integer" |
| properties.items.items.properties.selected\_options.additionalProperties.items.description | "Value for selected options item." |
| properties.items.items.properties.selected\_options.additionalProperties.items.pattern | "^\[a-z0-9\_]{1,16}$" |
| properties.items.items.properties.selected\_options.additionalProperties.items.type | "string" |
| properties.items.items.properties.selected\_options.additionalProperties.minItems | 1 |
| properties.items.items.properties.selected\_options.additionalProperties.type | "array" |
| properties.items.items.properties.selected\_options.description | "Value for selected options." |
| properties.items.items.properties.selected\_options.propertyNames.pattern | "^\[a-z0-9\_]{1,16}$" |
| properties.items.items.properties.selected\_options.propertyNames.type | "string" |
| properties.items.items.properties.selected\_options.type | "object" |
| properties.items.items.required | \["product\_seq\_id","quantity"] |
| properties.items.items.type | "object" |
| properties.items.minItems | 1 |
| properties.items.type | "array" |
| properties.metadata.additionalProperties | {} |
| properties.metadata.description | "Value for metadata." |
| properties.metadata.propertyNames.type | "string" |
| properties.metadata.type | "object" |
| properties.redirect\_url.description | "Value for redirect url." |
| properties.redirect\_url.format | "uri" |
| properties.redirect\_url.maxLength | 2048 |
| properties.redirect\_url.type | "string" |
| properties.user\_seq\_id.description | "Value for user seq id." |
| properties.user\_seq\_id.exclusiveMinimum | 0 |
| properties.user\_seq\_id.maximum | 9007199254740991 |
| properties.user\_seq\_id.type | "integer" |
| properties.zone.description | "Value for zone." |
| properties.zone.enum | \["ru","com"] |
| properties.zone.type | "string" |
| required | \["items","zone","accepted\_pricing\_quote","idempotency\_key"] |
| type | "object" |
