Home > @vsf-enterprise/sap-commerce-webservices-sdk > CustomerGroupsApi > updateCustomerGroupWithUsers
CustomerGroupsApi.updateCustomerGroupWithUsers() method
Assigns user(s) to a customer group. To try out the methods of the Customer Groups controller, you must authorize a user who belongs to the “customermanagergroup”. Assigns user(s) to a customer group.
Signature:
updateCustomerGroupWithUsers(baseSiteId: string, groupId: string, members: MemberList, options?: any): Promise<import("axios").AxiosResponse<void>>;
Parameters
Parameter | Type | Description |
---|---|---|
baseSiteId | string | Base site identifier |
groupId | string | Group identifier. |
members | MemberList | List of users to assign to customer group. |
options | any | Override http request option. |
Returns:
Promise<import("axios").AxiosResponse<void>>
Exceptions
{RequiredError} CustomerGroupsApi