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

a LoginResult
resultString
The result of a login
customerCustomer
The currently logged in customer.
cartCart
The cart that is assigned to the customer after login.
customerAccessTokenCustomerAccessToken

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