---
title: "Tag, note or unsubscribe a customer"
method: PATCH
path: "/customers/{id}"
tags: ["Customers"]
---

# Tag, note or unsubscribe a customer

`PATCH /customers/{id}`

## Request

- Base URL: `https://api.madethis.com/v1`
- URL: `https://api.madethis.com/v1/customers/{id}`
- Auth: HTTP bearer

## Path parameters

- `id` string, required

## Request body

- object
  - `addTags` string[]
  - `removeTags` string[]
  - `note` string: Replaces the note. Pass an empty string to clear it.
  - `emailMarketing` 'unsubscribed': Unsubscribe the customer from email marketing. The API can't subscribe anyone.

## Response `200`

Success envelope.

- object
  - `data` object, required
  - `hint` string: One-sentence orientation for agents.
  - `next_action` string: The literal next call an agent would chain.

## Other responses

- `default`: Error envelope — machine-readable `code` plus a docs link.

---

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