Class ByProjectKeyInStoreKeyByStoreKeyLoginPost

java.lang.Object
io.vrap.rmf.base.client.ApiMethod<T,TResult>
io.vrap.rmf.base.client.BodyApiMethod<ByProjectKeyInStoreKeyByStoreKeyLoginPost,CustomerSignInResult,CustomerSignin>
com.commercetools.api.client.ByProjectKeyInStoreKeyByStoreKeyLoginPost
All Implemented Interfaces:
ErrorableTrait<ByProjectKeyInStoreKeyByStoreKeyLoginPost>, io.vrap.rmf.base.client.ClientRequestCommand<CustomerSignInResult>, io.vrap.rmf.base.client.CreateHttpRequestCommand, io.vrap.rmf.base.client.RequestCommand<CustomerSignInResult>

Authenticates a Customer associated with a Store. For more information, see Global versus Store-specific Customers.

If the Customer exists in the Project but the stores field references a different Store, this method returns an InvalidCredentials error.



   CompletableFuture<ApiHttpResponse<com.commercetools.api.models.customer.CustomerSignInResult>> result = apiRoot
            .withProjectKey("{projectKey}")
            .inStoreKeyWithStoreKeyValue("{storeKey}")
            .login()
            .post(null)
            .execute()