---
title: "Update Customer Route"
method: PATCH
path: "/api/v1/customers/{customer_id}"
tags: ["customers"]
---

# Update Customer Route

`PATCH /api/v1/customers/{customer_id}`

## Path parameters

- `customer_id` string, uuid, required

## Headers

- `authorization` string, nullable — Bearer <token>

## Request body

- CustomerUpdate
  - `name` string, nullable
  - `email` string, email, nullable
  - `handle` string, nullable
  - `avatar_url` string, nullable
  - `plan_tier` string, nullable
  - `plan_name` string, nullable
  - `mrr_cents` integer, nullable
  - `lifecycle_stage` string, nullable
  - `source` string, nullable
  - `primary_channel` string, nullable
  - `notes` string, nullable
  - `signal` string, nullable

## Response `200`

Successful Response

- EnvelopeCustomerResponse
  - `data` CustomerResponse, required
    - `id` string, uuid, required
    - `workspace_id` string, uuid, required
    - `name` string, required
    - `email` string, required
    - `handle` string, nullable
    - `avatar_url` string, nullable
    - `plan_tier` string, nullable
    - `plan_name` string, nullable
    - `mrr_cents` integer
    - `revenue_30d_cents` integer
    - `signup_date` string, date, nullable
    - `last_seen_at` string, date-time, nullable
    - `health` string, required
    - `churn_risk` number, required
    - `lifecycle_stage` string, required
    - `source` string, nullable
    - `primary_channel` string, nullable
    - `actions_30d` integer
    - `activity_14d` integer[], nullable
    - `last_activity_event` string, nullable
    - `last_activity_at` string, date-time, nullable
    - `notes` string, nullable
    - `signal` string, nullable
    - `bug_report_count` integer
    - `outreach_reply_rate` number
    - `last_open_at` string, date-time, nullable
    - `posthog_properties` object, nullable
    - `posthog_location` string, nullable
    - `stripe_data` object, nullable
    - `revenuecat_data` object, nullable
    - `enrichment_data` object, nullable
    - `derived_properties` object, nullable
    - `enriched_at` string, date-time, nullable
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required
  - `meta` Meta
    - `request_id` string
    - `timestamp` string, date-time
    - `total` integer, nullable
    - `truncated` boolean, nullable

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-02** `6bd3ca9033ae` — 2 info
  - the `meta` response's property default value changed from `{"request_id":"","timestamp":"2026-09-01T18:59:27.102736"}` to `{"request_id":"","timestamp":"2026-09-02T16:58:28.431377"}` for the status `200`
  - the `timestamp` response's property default value changed from `2026-09-01T18:59:27.102736` to `2026-09-02T16:58:28.431377` for the status `200`

[Change history](https://skmtc.dev/minro/apis/minro-cs-platform/changes/api/v1/customers/:customer_id/patch.md)

---

[API](https://skmtc.dev/minro/apis/minro-cs-platform.md) · [All operations](https://skmtc.dev/minro/apis/minro-cs-platform/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/minro/minro-cs-platform/revisions/eb854265cf29/schema)
