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

# Update contact

`PATCH /v1/contacts/{id}`

## Request

- Base URL: `https://contacts-api.paymongo.com`
- URL: `https://contacts-api.paymongo.com/v1/contacts/{id}`
- Auth: HTTP basic

Partially update a contact; omitted fields are unchanged. Email/phone uniqueness is enforced (409 on conflict).

## Path parameters

- `id` string, required

## Request body

- UpdateContactRequestDTO
  - `address` AddressRequestDTO
    - `city` string, required
    - `country` string, required
    - `line_1` string, required
    - `line_2` string
    - `postal_code` string
    - `province` string
  - `description` string
  - `email` EmailRequestDTO[]
    - `email` string, required
    - `type` 'TO' | 'CC' | 'BCC'
  - `first_name` string
  - `last_name` string
  - `metadata` object
  - `middle_name` string
  - `phone` string[]
  - `role` string
  - `suffix` string

## Response `200`

OK

- object: Standard response containing data and its metadata if any
  - `data` ContactResponseDTO
    - `attributes` ContactAttributesDTO
      - `address` AddressDTO
        - `city` string
        - `country` string
        - `line_1` string
        - `line_2` string
        - `postal_code` string
        - `province` string
      - `created_at` string
      - `description` string
      - `email` EmailDTO[]
        - `email` string
        - `type` string
      - `first_name` string
      - `last_name` string
      - `metadata` object
      - `middle_name` string
      - `phone` string[]
      - `role` string
      - `status` string
      - `suffix` string
      - `updated_at` string
    - `id` string
  - `has_more` boolean

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `404`: Not Found
- `409`: Conflict
- `500`: Internal Server Error

---

[API](https://skmtc.dev/paymongo/apis/contacts-api.md) - [All operations](https://skmtc.dev/paymongo/apis/contacts-api/llms.txt) - [OpenAPI document](https://skmtc.dev/paymongo/apis/contacts-api/revisions/b5416b944e43?raw)
