---
title: "Changes to Update a customer group"
method: PATCH
path: "/customer_groups/{customerGroupId}"
---

# Changes to Update a customer group

`PATCH /customer_groups/{customerGroupId}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 11 revisions.

- **2026-07-13** `859097ed3fe6`: 1 breaking, 7 info

## Changes

- **2026-07-13** `859097ed3fe6`: 1 breaking, 7 info
  - request property `data/type` was restricted to a list of enum values
  - added the new optional request property `data/attributes/code`
  - 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 `customer_groups` was removed
  - added the new `customer_groups` 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/customer_groups/:customerGroupId/patch.md) - [API](https://skmtc.dev/commercelayer/apis/commerce-layer-api.md) - [Page](https://skmtc.dev/commercelayer/apis/commerce-layer-api/changes/customer_groups/:customerGroupId/patch)
