You are reading the documentation for v7.x and earlier, which is no longer the latest version. Switch to v8.x
searchCustomer360
Get customer data from Customer 360 in Assisted Service Module
This method exchanges data with the searchCustomer360 endpoint exposed by the SAP OCC API ASM Customer 360 Controller.
Signature
export declare function searchCustomer360(
context: SapccIntegrationContext,
props: SearchCustomer360Props
): Promise<Customer360List>;Parameters
| Name | Required | Type | Description |
|---|---|---|---|
context | Required | SapccIntegrationContext | |
props | Required | SearchCustomer360Props | Parameter object which can be used with this method. Refer to its type definition to learn about possible properties. |
Returns
Returns response of query to Customer 360
Referenced Types
- SapccIntegrationContext
SearchCustomer360PropsCustomer360List
Examples
Requesting customer data from Customer 360
const searchCustomer360 = await sdk.commerce.searchCustomer360({
userId: "generated-lenny70@yahoo.com",
customer360QueryList: {
customer360Queries: [
{ type: "c360Overview" }
]
}
});