Home > @vsf-enterprise/epcc-api > AddressesEndpoints > createAddress
# AddressesEndpoints.createAddress() method
Creates a new address
Signature:
createAddress(context: ElasticPathIntegrationContext, params: CreateCustomerAddressesParams | CreateAccountAddressesParams): Promise<Address>;
# Parameters
Parameter | Type | Description |
---|---|---|
context | ElasticPathIntegrationContext | An auto-generated value prepended to the method as a first parameter. |
params | CreateCustomerAddressesParams | CreateAccountAddressesParams | An object which contains necessary properties for creating a new address. |
Returns:
Promise<Address>