Home > @vsf-enterprise/commercetools-api > customerSignMeIn

# customerSignMeIn() function

Endpoint for logging in a user. By default, it uses the customerSignMeInDefaultQuery GraphQL query

Signature:

export declare function customerSignMeIn(context: Context, draft: CustomerSignMeInDraft, customQuery?: CustomQuery): Promise<CustomerSignMeInResponse>;

# Parameters

Parameter Type Description
context Context Automatically injected context. Refer to Context
draft CustomerSignMeInDraft User credentials
customQuery CustomQuery

Returns:

Promise<CustomerSignMeInResponse>

User information