---
search:
  tags:
    - Contacts
    - PATCH
seo:
  description: >-
    Update a contact. Reference for the PATCH /contacts/{id} endpoint in the
    BillionSend API.
sidebar:
  label: Update a contact
  badge: PATCH
title: Update a contact
type: openapi-operation
---
`PATCH /contacts/{id}`

**Request body** (`application/json`)

- `first_name` (string | null) — First name; null clears it
- `last_name` (string | null) — Last name; null clears it
- `unsubscribed` (boolean) — Global opt-out from all marketing sends
- `properties` (object) — Custom properties to set (merged); null removes a key

Request body example:

```json
{
  "first_name": "string",
  "last_name": "string",
  "unsubscribed": true,
  "properties": {
    "property1": null,
    "property2": null
  }
}
```

**Responses**

- `200` — Contact updated
- `401` — Missing, malformed, unknown or revoked API key
- `403` — An agent acting for a role below owner and admin tried to lift the recipient's own whole-team opt-out
- `404` — Not found
- `422` — Validation error
- `429` — Over the rate limit (rate\_limit\_exceeded, with Retry-After)

Response example, 200:

```json
{
  "object": "contact",
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
```
