---
title: "Update Customer"
method: PATCH
path: "/v2/customers/{id}"
tags: ["customers"]
---

# Update Customer

`PATCH /v2/customers/{id}`

## Path parameters

- `id` string, required

## Request body

- CustomerUpdate — Customer update pydantic schema
  - `email` string, email — Customer email
  - `name` string — Customer name
  - `mobile` string — Customer mobile number
  - `date_birth` string, date — Date of birth
  - `legal_id` string — Any legal identifier like SIREN, CBE, KVK, etc
  - `country` string — Country of the card issuer
  - `external_id` string — Unique id with unicity check
  - `billing_address` string — Billing address ID
  - `shipping_address` string — Shipping address ID

## Response `200`

Successful Response

- CustomerOut — Customer model used as route output
  - `id` string, required
  - `country` string — Country of the card issuer
  - `created` string, date-time, required — Unique id with unicity check
  - `date_birth` string, date — Date of birth
  - `email` string — Customer email
  - `external_id` string — Unique id with unicity check
  - `legal_id` string — Any legal identifier like SIREN, CBE, KVK, etc
  - `mobile` string — Customer email
  - `name` string — Customer name
  - `billing_address` string — Billing address
  - `shipping_address` string — Shipping address
  - `deleted` boolean, required

## Other responses

- `422` — Validation Error

---

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