Class ByProjectKeyInStoreKeyByStoreKeyLoginPostString

java.lang.Object
io.vrap.rmf.base.client.ApiMethod<T,TResult>
io.vrap.rmf.base.client.BodyApiMethod<T,TResult,String>
io.vrap.rmf.base.client.StringBodyApiMethod<ByProjectKeyInStoreKeyByStoreKeyLoginPostString,CustomerSignInResult>
com.commercetools.api.client.ByProjectKeyInStoreKeyByStoreKeyLoginPostString
All Implemented Interfaces:
ErrorableTrait<ByProjectKeyInStoreKeyByStoreKeyLoginPostString>, io.vrap.rmf.base.client.ClientRequestCommand<CustomerSignInResult>, 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("")
            .execute()