Poq.SDK.Node

Home > @poq/sdk-sfcc > ICustomersClient > getCustomersByID

ICustomersClient.getCustomersByID() method

Gets a customer.

Signature:

getCustomersByID(customerId: string, expand?: Array<string>, options?: RequestOptions): Promise<PoqResponse<Customer>>;

Parameters

Parameter Type Description
customerId string The customer id
expand Array<string> (Optional)
options RequestOptions (Optional) Override http request option.

Returns:

Promise<PoqResponse<Customer>>