---
title: "Changes to Update a customer"
method: PATCH
path: "/customers/{customerId}"
---

# Changes to Update a customer

`PATCH /customers/{customerId}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 11 revisions.

- **2026-07-13** `859097ed3fe6`: 2 breaking, 2 warning, 14 info

## Changes

- **2026-07-13** `859097ed3fe6`: 2 breaking, 2 warning, 14 info
  - added the new required request property `data/relationships/customer_group/data`
  - request property `data/type` was restricted to a list of enum values
  - removed the request property `data/relationships/customer_group/id`
  - removed the request property `data/relationships/customer_group/type`
  - added the new optional request property `data/attributes/_add_tags`
  - added the new optional request property `data/attributes/_cancel_anonymization`
  - added the new optional request property `data/attributes/_remove_tags`
  - added the new optional request property `data/attributes/_request_anonymization`
  - added the new optional request property `data/attributes/profile_id`
  - added the new optional request property `data/attributes/shopper_reference`
  - added the new optional request property `data/attributes/tax_exemption_code`
  - added the new optional request property `data/relationships/tags`
  - the request property `data/attributes/metadata` became nullable
  - the request property `data/attributes/reference` became nullable
  - the request property `data/attributes/reference_origin` became nullable
  - the `type` request property default value `customers` was removed
  - added the new `customers` enum value to the request property `data/type`
  - added the media type `application/vnd.api+json` for the response with the status `200`

---

[Operation](https://skmtc.dev/commercelayer/apis/commerce-layer-api/docs/customers/:customerId/patch.md) - [API](https://skmtc.dev/commercelayer/apis/commerce-layer-api.md) - [Page](https://skmtc.dev/commercelayer/apis/commerce-layer-api/changes/customers/:customerId/patch)
