Poq.SDK.Node

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

ICustomersClient.getCustomersByIDAddressesByID() method

Retrieves a customers address by address name.

Signature:

getCustomersByIDAddressesByID(customerId: string, addressName: string, options?: RequestOptions): Promise<PoqResponse<CustomerAddress>>;

Parameters

Parameter Type Description
customerId string the id of the customer to retrieve the address for
addressName string the name of the address to retrieve
options RequestOptions (Optional) Override http request option.

Returns:

Promise<PoqResponse<CustomerAddress>>