You are reading the documentation for v7.x and earlier, which is no longer the latest version. Switch to v8.x
searchCustomer360
Method that gets customer data from Customer 360 in Assisted Service Module
This method sends a POST request to the searchCustomer360 endpoint of the Alokai Middleware. In turn, it exchanges data with the searchCustomer360 endpoint exposed by the SAP OCC API ASM Customer 360 Controller.
Signature
export declare function searchCustomer360<Res extends Customer360List = Customer360List>(
props: SearchCustomer360Props,
options?: MethodOptions
): Promise<Res>;Parameters
| Name | Required | Type | Description |
|---|---|---|---|
props | Required | SearchCustomer360Props | Parameter object which can be used with this method. Refer to its type definition to learn about possible properties. |
options | Optional | MethodOptions | Options that can be passed to additionally configure the request or customize the logic in a plugin. |
Returns
Returns response of query to Customer 360
Referenced Types
Customer360ListSearchCustomer360Props- MethodOptions
Examples
Requesting customer data from Customer 360
const searchCustomer360 = await sdk.commerce.searchCustomer360({
userId: "generated-lenny70@yahoo.com",
customer360QueryList: {
customer360Queries: [
{ type: "c360Overview" }
]
}
});