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

# CustomerEndpoints.customerSignIn() method

Authenticate customers with email and password.

Signature:

customerSignIn(context: ElasticPathIntegrationContext, params: CustomerSignInParams): Promise<CustomerToken>;

# Parameters

Parameter Type Description
context ElasticPathIntegrationContext An auto-generated value prepended to the method as a first parameter.
params CustomerSignInParams Customer's email and password.

Returns:

Promise<CustomerToken>