# manage\_promo\_codes

Source: <https://telegafirst.com/docs/mcp-tool-manage-promo-codes>
Locale: ru
releaseGitSha: 005a4dc9d76f69a0815df4e3f98b9050d4d46afb
sourceContentDigest: 058fea881501c457cc68f487adae8811f21ab3ad0e4a15e308e918565b78784d
Version: 7

# 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 | "1.0.34" |
| 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)
