Home > @vsf-enterprise/epcc-api > CustomerEndpoints > updateCustomer

# CustomerEndpoints.updateCustomer() method

Updates the data of the current customer.

Signature:

updateCustomer(context: ElasticPathIntegrationContext, params: UpdateCustomerParams): Promise<User>;

# Parameters

Parameter Type Description
context ElasticPathIntegrationContext An auto-generated value prepended to the method as a first parameter.
params UpdateCustomerParams An object which contains necessary properties for updating a customer.

Returns:

Promise<User>