Для AI-агентов: markdown этой страницы — /docs/mcp-tool-restore-promo-code-version.mdиндекс документации — /llms.txt
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