# External ID for customer groups

#### What's new

New field for syncing customer groups with external services.&#x20;

#### Changes in API

New `externalReferenceId` field available for <mark style="color:green;">`GET`</mark> `/customer_groups` and <mark style="color:green;">`GET`</mark> <mark style="color:purple;">`PUT`</mark> <mark style="color:blue;">`POST`</mark> `/customer_groups/{groupId}` API requests allows safe sync of customer groups from external services. For now, it is only used for internal integrations inside Lightspeed.

#### Documentation links

{% content-ref url="/spaces/G9n5VxMY9T0Ob3D56PSD/pages/Ob762Vi9PDfTNlYTmuUR" %}
[Customer groups](/api-reference/rest-api/customers/customer-groups.md)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ecwid.com/changelog/june-2025/june-27/external-id-for-customer-groups.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
