Customer Groups
The customer groups section provides access to customer groups of your company and their assignment to customers.
Required scope: customers
Setting up API access is described in the Help Center.
Endpoints
| Method | Endpoint | Description |
|---|---|---|
GET | /api/oauth/v2/resource/customers/groups | Paginated list of all customer groups |
GET | /api/oauth/v2/resource/customers/groups/{uuid} | Details of a single customer group |
POST | /api/oauth/v2/resource/customers/groups | Create a new customer group |
PUT | /api/oauth/v2/resource/customers/groups/{uuid} | Update a customer group |
DELETE | /api/oauth/v2/resource/customers/groups/{uuid} | Delete a customer group |
GET | /api/oauth/v2/resource/customers/{uuid}/groups | Get customer groups of a customer |
POST | /api/oauth/v2/resource/customers/{uuid}/groups/{groupUuid} | Assign a customer group to a customer |
DELETE | /api/oauth/v2/resource/customers/{uuid}/groups/{groupUuid} | Remove a customer group from a customer |