Home > @vsf-enterprise/epcc-api > AddressesEndpoints > updateAddress

# AddressesEndpoints.updateAddress() method

Updates an address

Signature:

updateAddress(context: ElasticPathIntegrationContext, params: EditCustomerAddressesParams | EditAccountAddressesParams): Promise<Address>;

# Parameters

Parameter Type Description
context ElasticPathIntegrationContext An auto-generated value prepended to the method as a first parameter.
params EditCustomerAddressesParams | EditAccountAddressesParams An object which contains necessary properties for updating an address.

Returns:

Promise<Address>