---
title: "Update a customer group"
method: PATCH
path: "/v1/customers/groups/{id}"
tags: ["Customer Groups"]
---

# Update a customer group

`PATCH /v1/customers/groups/{id}`

## Request

- Base URL: `` (relative, and it does not resolve against the document’s source URL)
- URL: `/v1/customers/groups/{id}`
- Auth: one of:
  - API key in header `sessionKey`
  - API key in header `clientCode`
  - API key in header `jwt`
- TypeScript: <https://skmtc.dev/erply/apis/crm-api/docs/v1/customers/groups/:id/patch.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `id` integer, required

## Request body

- CustomersApiInternalModelsUpdateCustomerGroupRequest
  - `name` ModelsTranslatable
    - `ar` string
    - `cs` string
    - `da` string
    - `de` string
    - `el` string
    - `en` string
    - `es` string
    - `et` string
    - `fi` string
    - `fo` string
    - `fr` string
    - `he` string
    - `it` string
    - `lt` string
    - `lv` string
    - `nl` string
    - `no` string
    - `pl` string
    - `ru` string
    - `sv` string
    - `th` string
    - `tr` string
    - `vi` string
    - `zh_Hans` string
    - `zh_Hant` string
  - `parentId` integer
  - `priceListId` integer
  - `priceListId2` integer
  - `priceListId3` integer
  - `priceListId4` integer
  - `priceListId5` integer

## Response `200`

OK

- ResponsesResponse
  - `id` integer

## Other responses

- `400`: Bad Request
- `500`: Internal Server Error

---

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