You are reading the documentation for v7.x and earlier, which is no longer the latest version. Switch to v8.x
getCustomerLists
Retrieves a list of all customer lists. This can only be done when logged in ASM.
This method exchanges data with the getCustomerLists endpoint exposed by the SAP OCC API Customer Controller.
Signature
export declare function getCustomerLists(
context: SapccIntegrationContext
): Promise<UserGroupList>;Parameters
| Name | Required | Type | Description |
|---|---|---|---|
context | Required | SapccIntegrationContext |
Returns
Returns representation of a User Group List
Referenced Types
- SapccIntegrationContext
UserGroupList
Examples
Requesting a list of all customer lists
import { sdk } from '~/sdk';
const cutomerLists = await sdk.commerce.getCustomerLists();