---
title: "Update existing Tariff Period Group."
method: PATCH
path: "/api/v1/tariff-period-groups/{id}"
tags: ["Tariff Period Groups"]
---

# Update existing Tariff Period Group.

`PATCH /api/v1/tariff-period-groups/{id}`

Required scope: `tariffs:write`<br/>**Note: Once you are done with creating/updating tariffs and its components you have to call the `create-prices` endpoint to create the prices for the tariff.**

## Path parameters

- `id` integer, required

## Request body

- TariffPeriodGroup2
  - `activeFrom` string, date, nullable — tariff period group active from date
  - `activeTo` string, date, nullable — tariff period group active to date
  - `description` string, nullable — tariff period group description

## Response `200`

Updated Tariff Period Group

- TariffPeriodGroup
  - `id` integer — tariff period group id
  - `activeFrom` string, date, required — tariff period group active from date
  - `activeTo` string, date, required — tariff period group active to date
  - `description` string, required — tariff period group description
  - `tariffId` integer — tariff id

## Other responses

- `400` — The request is invalid
- `401` — Consumer with provided credentials was not found
- `403` — Operator doesn't have access to resource
- `404` — Entity with the provided id was not found

---

[API](https://skmtc.net/monta/apis/monta-partner-api.md) · [All operations](https://skmtc.net/monta/apis/monta-partner-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/monta/monta-partner-api/versions/517e18f11015/schema)
