user_promo_apply_by_code_get
Apply a promotional code to a user account to activate offers or credits, with optional pagination and admin acting on a user's behalf.
Instructions
GET /promo/apply/{code} Применить промокод Тег: Промокоды Спека: user
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"code": "<code>"
},
"name": "user_promo_apply_by_code_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | path параметр "code" | |
| limit | No | Макс. кол-во записей | |
| offset | No | Смещение (пропуск записей) | |
| user_id | No | admin acts on behalf of this user |