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

# CustomerEndpoints.registerCustomer() method

Creates the customer.

Signature:

registerCustomer(context: ElasticPathIntegrationContext, params: RegisterCustomerParams): Promise<User>;

# Parameters

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

Returns:

Promise<User>