---
title: "Update Promo Group Endpoint"
method: PATCH
path: "/promo-groups/{group_id}"
tags: ["promo-groups"]
---

# Update Promo Group Endpoint

`PATCH /promo-groups/{group_id}`

## Request

- The document declares no server URL.
- Auth: API key in header `X-API-Key`
- TypeScript: <https://skmtc.dev/bedolagam/apis/remnawave-bot-admin-api/docs/promo-groups/:group_id/patch.ts> (a function with typed inputs; its response is checked against the schema)

Частичное обновление промо-группы.

## Path parameters

- `group_id` integer, required

## Request body

- AppWebapiSchemasPromoGroupsPromoGroupUpdateRequest
  - `period_discounts` object, nullable: Словарь скидок по длительности подписки. Ключ — количество месяцев, значение — скидка в процентах. Например: {1: 10, 6: 20}.
  - `name` string, nullable
  - `server_discount_percent` integer, nullable
  - `traffic_discount_percent` integer, nullable
  - `device_discount_percent` integer, nullable
  - `auto_assign_total_spent_kopeks` integer, nullable
  - `apply_discounts_to_addons` boolean, nullable
  - `is_default` boolean, nullable

## Response `200`

Successful Response

- PromoGroupResponse
  - `id` integer, required
  - `name` string, required
  - `server_discount_percent` integer, required
  - `traffic_discount_percent` integer, required
  - `device_discount_percent` integer, required
  - `period_discounts` object
  - `auto_assign_total_spent_kopeks` integer, nullable
  - `apply_discounts_to_addons` boolean, required
  - `is_default` boolean, required
  - `members_count` integer
  - `created_at` string, date-time, nullable
  - `updated_at` string, date-time, nullable

## Other responses

- `422`: Validation Error

## Changes

- **2026-11-03** `2360876ff9c5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/bedolagam/apis/remnawave-bot-admin-api/changes/promo-groups/:group_id/patch.md)

---

[API](https://skmtc.dev/bedolagam/apis/remnawave-bot-admin-api.md) - [All operations](https://skmtc.dev/bedolagam/apis/remnawave-bot-admin-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bedolagam/apis/remnawave-bot-admin-api/revisions/2360876ff9c5?raw)
