Home > @vsf-enterprise/epcc-api > AddressesEndpoints > getAddresses
# AddressesEndpoints.getAddresses() method
Returns a list of addresses.
Signature:
getAddresses(context: ElasticPathIntegrationContext, params: GetCustomerAddressesParams | GetAccountAddressesParams): Promise<Array<Address>>;
# Parameters
| Parameter | Type | Description |
|---|---|---|
| context | ElasticPathIntegrationContext | An auto-generated value prepended to the method as a first parameter. |
| params | GetCustomerAddressesParams | GetAccountAddressesParams | Optional filter parameters can be passed in. |
Returns:
Promise<Array<Address>>