---
title: "Update an existing Tariff."
method: PUT
path: "/api/v1/tariffs/{tariffId}"
tags: ["Tariff"]
---

# Update an existing Tariff.

`PUT /api/v1/tariffs/{tariffId}`

Required scope: `tariffs:write`<br/><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

- `tariffId` integer, required

## Request body

- UpdateTariffRequest
  - `externalId` string, required — external id
  - `name` string, required — Radius Elnet A/S
  - `description` string, required — Short description of this tariff
  - `countryId` integer, required — Id of the country where the tariff is applicable
  - `countryAreaId` integer, nullable — Id of the country area where the tariff is applicable
  - `currencyId` integer, required — Id of the currency in which the tariff is applicable
  - `teamId` integer, nullable — Team id
  - `pricesWithVat` boolean, required — Indication if prices are with vat
  - `zipCodes` string[], nullable — Zip codes where this tariff is applicable
  - `tariffType` 'WEEKLY' | 'DYNAMIC'
  - `active` boolean, required — Indication if this tariff is active
  - `timeZone` string, required — What timezone is the tariff active in
  - `area` string, required — Human description of the area the tariff is active in
  - `customerType` 'A_ZERO' | 'A_HIGH' | 'A_LOW' | 'B_HIGH' | 'B_LOW' | 'C_CUSTOMER'

## Response `200`

Updated Tariff

- TariffDto
  - `id` integer — Id of the tariff
  - `externalId` string, required — External id of the tariff
  - `name` string, required — Name of the tariff
  - `description` string, required — Description of the tariff
  - `countryId` integer — Country Id of the tariff
  - `countryAreaId` integer, nullable — Country area Id of the tariff
  - `currencyId` integer — Currency Id of the tariff
  - `teamId` integer, nullable — Team Id of the tariff
  - `operatorId` integer, nullable — Operator Id of the tariff
  - `pricesWithVat` boolean — Indicates if VAT is already in the price of the tariff
  - `zipCodes` string[], required — Zip codes of the tariff
  - `tariffType` 'WEEKLY' | 'DYNAMIC', required
  - `active` boolean — Indicates if the Tariff is active or not
  - `timeZone` string, required — Time zone of the tariff
  - `area` string, required — Area of the tariff
  - `customerType` 'A_ZERO' | 'A_HIGH' | 'A_LOW' | 'B_HIGH' | 'B_LOW' | 'C_CUSTOMER'
  - `createdAt` string, date-time, required — Creation date of the tariff
  - `updatedAt` string, date-time, nullable — Last update date of the tariff

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