---
title: GetCustomerGroupsResponse
framework: App Store Server API
role: symbol
role_heading: Object
platforms: [app store server api 1.22+]
path: appstoreserverapi/getcustomergroupsresponse
---

# GetCustomerGroupsResponse

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

## Declaration

```data
object GetCustomerGroupsResponse
```

## Properties

groups: An array of groups that the customer belongs to. The array is empty if the customer doesn’t belong to any group.

## Mentioned in

App Store Server API changelog

## Discussion

Discussion This response contains information that you request by calling the Get Customer Groups endpoint. Each GroupEntry in the groups array identifies one group the customer belongs to. An entry for a group with a groupType of ORGANIZATION also contains the customer’s role for each of your products in that group.

## Topics

### Response data types

- [GroupEntry](appstoreserverapi/groupentry.md)
- [RoleEntry](appstoreserverapi/roleentry.md)

## See Also

### Multiseat purchases

- [Get Customer Groups](appstoreserverapi/get-customer-groups.md)
- [Get Group Members](appstoreserverapi/get-group-members.md)
- [GetGroupMembersResponse](appstoreserverapi/getgroupmembersresponse.md)
