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

# Update contact

`PUT /contacts/{contactId}`

Use this method to update a contact of a processing account.  

To update a contact, you need its contactId. Our gateway returned the contactId in the response of the [Create Processing Account](https://docs.payroc.com/api/schema/boarding/merchant-platforms/create-processing-account) method.  

**Note:** If you don't have the contactId, use our [List Contacts](https://docs.payroc.com/api/schema/boarding/processing-accounts/list-contacts) method to search for the contact.  

You can update the following details about a contact:  

-	First name and last name.  
-	Contact details, including their phone number or mobile number.  
-	Identification details, including their identification type and number.  
-	Role within the business, for example, if they are a manager.

## Path parameters

- `contactId` integer, required

## Headers

- `Authorization` string, required

## Request body

- Contact
  - `contactId` integer — Unique identifier of the contact.
  - `type` 'manager' | 'representative' | 'others', required — Type of contact.
  - `firstName` string, required — Contact's first name.
  - `middleName` string — Contact's middle name.
  - `lastName` string, required — Contact's last name.
  - `identifiers` Identifier[] — Array of identifier objects.
    - `type` 'nationalId', required — Type of ID provided to verify identity.
    - `value` string, required — Social Security Number (SSN) or Social Insurance Number (SIN).
  - `contactMethods` ContactMethod[], required — Array of polymorphic objects, which contain contact information. **Note:** If you are adding information about an owner, you must provide at least an email address. If you are adding information about a contact, you must provide at least a contact number. The value of the type parameter determines which variant you should use: - `email` - Email address - `phone` - Phone number - `mobile` - Mobile number - `fax` - Fax number
    - union
      - object — email variant
        - `type` 'email', required — Discriminator value: email
        - `value` string, required — Email address.
      - object — phone variant
        - `type` 'phone', required — Discriminator value: phone
        - `value` string, required — Phone number.
      - object — mobile variant
        - `type` 'mobile', required — Discriminator value: mobile
        - `value` string, required — Mobile number.
      - object — fax variant
        - `type` 'fax', required — Discriminator value: fax
        - `value` string, required — Fax number.

## Response `204`

Successful request. We updated the contact.

- object

## Other responses

- `400` — Validation errors.
- `401` — Identity could not be verified
- `403` — Do not have permissions to perform this action
- `404` — Resource not found
- `406` — Not acceptable
- `500` — An error has occured

---

[API](https://skmtc.dev/payroc/apis/schema.md) · [All operations](https://skmtc.dev/payroc/apis/schema/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/payroc/schema/revisions/1d9d3e305945/schema)
