---
title: "Update contact"
method: PUT
path: "/v1/contacts/{contact_id}"
tags: ["Contacts"]
---

# Update contact

`PUT /v1/contacts/{contact_id}`

## Request

- Base URL: `https://developers.servera.lt`
- URL: `https://developers.servera.lt/v1/contacts/{contact_id}`
- Auth: HTTP bearer

Update an account contact.

## Path parameters

- `contact_id` integer, required

## Request body

- ContactData
  - `first_name` string, required
  - `last_name` string, nullable
  - `company_name` string, nullable
  - `company_code` string, nullable
  - `email` string, required
  - `tax_id` string, nullable
  - `phone` string, nullable
  - `address1` string, nullable
  - `address2` string, nullable
  - `city` string, nullable
  - `state` string, nullable
  - `postcode` string, nullable
  - `country` string, nullable
  - `general_emails` boolean
  - `invoice_emails` boolean
  - `support_emails` boolean
  - `product_emails` boolean
  - `domain_emails` boolean
  - `affiliate_emails` boolean

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/servera/apis/servera-developers-api-2.md) · [All operations](https://skmtc.dev/servera/apis/servera-developers-api-2/llms.txt) · [OpenAPI document](https://skmtc.dev/servera/apis/servera-developers-api-2/revisions/2e744791e77f?raw)
