---
title: "Update a price list period"
method: PATCH
path: "/v1/pricelist/period/{id}"
tags: ["Update price lists"]
---

# Update a price list period

`PATCH /v1/pricelist/period/{id}`

Generally any field provided will be updated, with a few exceptions; If the given period is currently active you will only be able to update the `validTo` field. Neither will you be able to update a expired (validTo is less than current time) period.

## Path parameters

- `id` string, required

## Query parameters

- `auditUser` string, required

## Request body

- PatchPeriodV1ResourceBody
  - `validFrom` string, date-time — The RFC 3339 format date and time from what time the price list should be active. Cannot be null
  - `validTo` string, date-time — The RFC 3339 format date and time when this price list should stop to be active. Cannot be greater than 'validFrom' of any other price list with the same 'code'. Can be null, which means this price list is active until this field is set
  - `value` number — The value of the price
  - `priceListId` string — A id that uniquely identifies this price list

## Response `200`

Successfully updated the period

- ResourceResponse
  - `description` string — Short description of the result of the action
  - `id` string — Will contain the ID of the resource that has been created or updated

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not found
- `500` — Internal server error

---

[API](https://skmtc.net/enfuce/apis/transfer-api.md) · [All operations](https://skmtc.net/enfuce/apis/transfer-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/enfuce/transfer-api/revisions/dc4a41118f80/schema)
