loginWithCustomerLoginJwt

Login with Customer Login JWT.

Arguments

jwtStringRequired

Customer Login JWT, for more information: /developer/api-reference/authentication/customer-login.

guestCartEntityIdStringOptional
The guest cart entity Id which should be assigned.

Returns

an Object
redirectToString
The URL to redirect to after 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.