# restore\_promo\_code\_version

Source: <https://telegafirst.com/docs/mcp-tool-restore-promo-code-version>
Locale: ru
releaseGitSha: fc570c76ffc9cb87e2462d45b14f5c1b52fbaf0d
sourceContentDigest: 2e84097b180018f8c9d344a12bd1bbbaad8b21e47626033abcc8afa614bb9547
Version: 2

# restore\_promo\_code\_version

Put one promo code (id) back to a stored version (version from list\_promo\_code\_versions). The stored copy must pass today’s rules — its products and sections must still be in this business and its text free — and becomes the next version; redemptions orders already used stay. Returns the code with its new version.

## Права и условия

required\_scopes: ALL.

| Поле | Значение |
| - | - |
| description | "Put one promo code (id) back to a stored version (version from list\_promo\_code\_versions). The stored copy must pass today’s rules — its products and sections must still be in this business and its text free — and becomes the next version; redemptions orders already used stay. Returns the code with its new version." |
| domain | "pricing" |
| name | "restore\_promo\_code\_version" |
| platform\_version | "42248466c94e00eec0d71429ed34a30fd211e9b0" |
| required\_scopes | \["pricing:write"] |
| risk | "money" |
| scope | "pricing:write" |
| title | "Restore Promo Code Version" |

## Входные параметры

[restore\_promo\_code\_version: inputSchema](https://telegafirst.com/docs/schema-2a862f48fda9c365ef70939e92848bf34ad420a88c26ab29e5d1f0a3e90b4a0c)

## Результат

[restore\_promo\_code\_version: outputSchema](https://telegafirst.com/docs/schema-82c49ba0f6ee082e3a26823b58bd5db03394e1d70456ce648713f6eff6327e71)
