# List of customer groups Returns list of customer groups ordered by priority. List is not paginated. Endpoint: GET /api/customers/groups Version: 1.0.0 Security: shoptetAccessToken, shoptetPrivateApiToken ## Header parameters: - `Content-Type` (string, required) ## Response 200 fields (application/json): - `data` (object, required) - `data.customerGroups` (array, required) - `data.customerGroups.id` (integer, required) Customer group ID - `data.customerGroups.name` (string, required) Customer group name - `data.customerGroups.customerGroupCode` (string,null, required) index name of customer group used to identify group while insert/edit customer - `data.customerGroups.description` (string,null, required) description of customer group. - `data.customerGroups.defaultPricelistId` (integer,null, required) ID of default pricelist for this group - `data.customerGroups.maxDiscount` (any, required) Ratio of maximal discount (0.55 -> 55% max discount). Maximum 0.9999. Null when no maximal discount is set. - `data.customerGroups.priority` (integer,null, required) Priority of customer group - `data.customerGroups.emailNotification` (boolean, required) whether e-mail will be sent on new customer registration in this group. - `data.customerGroups.authRequired` (boolean, required) whether authorization of new customer by eshop administrator is be required - `data.customerGroups.registrationAllowed` (boolean, required) whether customers can register to this group. - `data.customerGroups.wholesale` (boolean, required) whether customers and their orders in this group are marked as wholesale - `data.customerGroups.tableLayout` (boolean, required) whether table layout will be shown instead to classical layout. Might not be supported by all templates. - `data.customerGroups.fullProfileRequired` (boolean, required) whether full profile is needed for customer. - `errors` (array,null, required) - `errors.errorCode` (string, required) Short text error identification - `errors.message` (string, required) Descriptive error message - `errors.instance` (string, required) Identification of the entity referenced