---
title: "Update a agreement account link"
method: PATCH
path: "/v1/priceagreement/link/{id}"
tags: ["Update repricing agreements"]
---

# Update a agreement account link

`PATCH /v1/priceagreement/link/{id}`

Update the agreement account link

## Path parameters

- `id` string, required

## Query parameters

- `auditUser` string, required

## Request body

- PatchPriceAgreementAccountV1ResourceBody
  - `accountId` string — The id of the card that you want to connect to a price agreement
  - `priceAgreementId` string — The primary key of the price agreement
  - `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

## Response `200`

Successfully updated

- 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/versions/dc4a41118f80/schema)
