Home > @vsf-enterprise/sap-commerce-webservices-sdk > CustomerGroupsApi > getCustomerGroup

CustomerGroupsApi.getCustomerGroup() method

Returns a customer group with a specific groupId. To try out the methods of the Customer Groups controller, you must authorize a user who belongs to the “customermanagergroup”. Get a specific customer group.

Signature:

getCustomerGroup(baseSiteId: string, groupId: string, fields?: string, options?: any): Promise<import("axios").AxiosResponse<UserGroup>>;

Parameters

Parameter Type Description
baseSiteId string Base site identifier
groupId string Group identifier.
fields string Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL
options any Override http request option.

Returns:

Promise<import("axios").AxiosResponse<UserGroup>>

Exceptions

{RequiredError} CustomerGroupsApi