<!--
{
  "availability" : [
    "App Store Server API: 1.22.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppStoreServerAPI",
  "identifier" : "/documentation/AppStoreServerAPI/GetCustomerGroupsResponse",
  "metadataVersion" : "0.1.0",
  "role" : "Object",
  "symbol" : {
    "kind" : "Object",
    "modules" : [
      "App Store Server API"
    ],
    "preciseIdentifier" : "data:app_store_server_api:GetCustomerGroupsResponse"
  },
  "title" : "GetCustomerGroupsResponse"
}
-->

# GetCustomerGroupsResponse

A response that contains the groups a customer belongs to, and their role in each group.

```
object GetCustomerGroupsResponse
```

## Discussion

This response contains information that you request by calling the [`Get Customer Groups`](/documentation/AppStoreServerAPI/Get-Customer-Groups) endpoint.

Each [`GroupEntry`](/documentation/AppStoreServerAPI/GroupEntry) in the `groups` array identifies one group the customer belongs to. An entry for a group with a [`groupType`](/documentation/AppStoreServerAPI/groupType) of `ORGANIZATION` also contains the customer’s role for each of your products in that group.

## Topics

### Response data types

[`object GroupEntry`](/documentation/AppStoreServerAPI/GroupEntry)

The identifier, type, and per-product roles for a group that a customer belongs to.

[`object RoleEntry`](/documentation/AppStoreServerAPI/RoleEntry)

A customer’s role for a single product within a group.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)