Для AI-агентов: markdown этой страницы — /docs/schema-982a043ba5e86350efac863250e8cf6ee6b0fc569ac8232a6506f6654a956dde.mdиндекс документации — /llms.txt
Схема: prepare_refund: inputSchema
Обновлено
| Поле | Значение |
|---|---|
| $schema | "https://json-schema.org/draft/2020-12/schema" |
| additionalProperties | false |
| 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.order_id.description | "Value for order id." |
| properties.order_id.maximum | 2147483647 |
| properties.order_id.minimum | 1 |
| properties.order_id.type | "integer" |
| properties.reason.description | "Value for reason." |
| properties.reason.maxLength | 500 |
| properties.reason.minLength | 1 |
| properties.reason.type | "string" |
| properties.scope.description | "Value for scope." |
| properties.scope.oneOf.0.additionalProperties | false |
| properties.scope.oneOf.0.description | "Value for scope option." |
| properties.scope.oneOf.0.properties.kind.const | "full" |
| properties.scope.oneOf.0.properties.kind.description | "Value for kind." |
| properties.scope.oneOf.0.properties.kind.type | "string" |
| properties.scope.oneOf.0.required | ["kind"] |
| properties.scope.oneOf.0.type | "object" |
| properties.scope.oneOf.1.additionalProperties | false |
| properties.scope.oneOf.1.description | "Value for scope option." |
| properties.scope.oneOf.1.properties.kind.const | "line" |
| properties.scope.oneOf.1.properties.kind.description | "Value for kind." |
| properties.scope.oneOf.1.properties.kind.type | "string" |
| properties.scope.oneOf.1.properties.line_no.description | "Value for line no." |
| properties.scope.oneOf.1.properties.line_no.maximum | 9007199254740991 |
| properties.scope.oneOf.1.properties.line_no.minimum | 1 |
| properties.scope.oneOf.1.properties.line_no.type | "integer" |
| properties.scope.oneOf.1.properties.quantity.description | "Value for quantity." |
| properties.scope.oneOf.1.properties.quantity.maximum | 9007199254740991 |
| properties.scope.oneOf.1.properties.quantity.minimum | 1 |
| properties.scope.oneOf.1.properties.quantity.type | "integer" |
| properties.scope.oneOf.1.required | ["kind","line_no"] |
| properties.scope.oneOf.1.type | "object" |
| required | ["scope","order_id"] |
| type | "object" |