Home > @vsf-enterprise/sap-commerce-webservices-sdk > CustomerGroupsApiFp

CustomerGroupsApiFp variable

CustomerGroupsApi - functional programming interface

Signature:

CustomerGroupsApiFp: (configuration?: Configuration) => {
    createCustomerGroup(baseSiteId: string, userGroup: UserGroup, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
    getCustomerGroup(baseSiteId: string, groupId: string, fields?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserGroup>>;
    getCustomerGroups(baseSiteId: string, currentPage?: number, fields?: string, pageSize?: number, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserGroupList>>;
    removeUsersFromCustomerGroup(baseSiteId: string, groupId: string, userId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
    replaceUsersForCustomerGroup(baseSiteId: string, groupId: string, members: MemberList, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
    updateCustomerGroupWithUsers(baseSiteId: string, groupId: string, members: MemberList, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
}