# manage\_promo\_codes

Source: <https://telegafirst.com/docs/mcp-tool-manage-promo-codes>
Locale: ru
releaseGitSha: fc570c76ffc9cb87e2462d45b14f5c1b52fbaf0d
sourceContentDigest: 7a16bf40ecdca23e574a273802585aafdb84bda7c5e7ff953942bb9c6964b65b
Version: 2

# manage\_promo\_codes

Manage promo codes: action list, create, update, pause (paused true/false), delete or usage. A code has the \`text\` the buyer types, a kind percent or fixed (value, and currency for fixed), a scope (the whole order, products or sections by \`id\`), optional limit\_total, limit\_per\_user and a validity window. A code that was already redeemed is only switched off by delete (outcome deactivated). usage returns reserved, used, released and refunded redemptions. Every code carries its version; update and pause send it back as expected\_version, and a code changed since then is refused with PRECONDITION\_FAILED.

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

required\_scopes: ALL.

| Поле | Значение |
| - | - |
| description | "Manage promo codes: action list, create, update, pause (paused true/false), delete or usage. A code has the \`text\` the buyer types, a kind percent or fixed (value, and currency for fixed), a scope (the whole order, products or sections by \`id\`), optional limit\_total, limit\_per\_user and a validity window. A code that was already redeemed is only switched off by delete (outcome deactivated). usage returns reserved, used, released and refunded redemptions. Every code carries its version; update and pause send it back as expected\_version, and a code changed since then is refused with PRECONDITION\_FAILED." |
| domain | "pricing" |
| name | "manage\_promo\_codes" |
| platform\_version | "42248466c94e00eec0d71429ed34a30fd211e9b0" |
| required\_scopes | \["pricing:write"] |
| risk | "money" |
| scope | "pricing:write" |
| title | "Manage Promo Codes" |

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

[manage\_promo\_codes: inputSchema](https://telegafirst.com/docs/schema-633d5b642aeb71faca33d893c1eafc4d9556d3c79efcec84759a62991f1cb613)

## Результат

[manage\_promo\_codes: outputSchema](https://telegafirst.com/docs/schema-82c49ba0f6ee082e3a26823b58bd5db03394e1d70456ce648713f6eff6327e71)
