login

Customer login.

Arguments

emailStringRequired
An email of the customer.
passwordStringRequired
A password of the customer.
guestCartEntityIdStringOptional
The guest cart entity ID which should be assigned to customer.

Returns

an Object
resultString
The result of a login
customerObject
The currently logged in customer.
cartObject
The cart that is assigned to the customer after login.
customerAccessTokenObject

The customer access token. This field can only be fetched in server-to-server context.