Class ByProjectKeyCustomersEmailConfirmPost

All Implemented Interfaces:
ErrorableTrait<ByProjectKeyCustomersEmailConfirmPost>, ClientRequestCommand<Customer>, CreateHttpRequestCommand, HttpRequestCommand<Customer>, RequestCommand<Customer>

Use this method to verify a global Customer's email during their email verification process.

Verifying the email of the Customer produces the CustomerEmailVerified Message.

After the email is verified, all email tokens issued previously through the email verification flow are invalidated. This invalidation of tokens is eventually consistent.



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