Class ByProjectKeyInStoreKeyByStoreKeyCustomersEmailConfirmPost

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

public class ByProjectKeyInStoreKeyByStoreKeyCustomersEmailConfirmPost extends io.vrap.rmf.base.client.BodyApiMethod<ByProjectKeyInStoreKeyByStoreKeyCustomersEmailConfirmPost,Customer,CustomerEmailVerify> implements ErrorableTrait<ByProjectKeyInStoreKeyByStoreKeyCustomersEmailConfirmPost>

The customer verifies the email using the token value. Verifying the email of the Customer produces the CustomerEmailVerified Message.

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



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