Skip to navigation

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
resultStringDeprecated

The result of a login

Deprecated: Use customer node instead.

customerCustomerOptional
The currently logged in customer.
cartCartOptional
The cart that is assigned to the customer after login.
customerAccessTokenCustomerAccessTokenOptional

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