Class ByProjectKeyInStoreKeyByStoreKeyCustomersEmailConfirmPostString

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<ByProjectKeyInStoreKeyByStoreKeyCustomersEmailConfirmPostString,Customer>
com.commercetools.api.client.ByProjectKeyInStoreKeyByStoreKeyCustomersEmailConfirmPostString
All Implemented Interfaces:
ErrorableTrait<ByProjectKeyInStoreKeyByStoreKeyCustomersEmailConfirmPostString>, io.vrap.rmf.base.client.ClientRequestCommand<Customer>, io.vrap.rmf.base.client.CreateHttpRequestCommand, io.vrap.rmf.base.client.RequestCommand<Customer>

public class ByProjectKeyInStoreKeyByStoreKeyCustomersEmailConfirmPostString extends io.vrap.rmf.base.client.StringBodyApiMethod<ByProjectKeyInStoreKeyByStoreKeyCustomersEmailConfirmPostString,Customer> implements ErrorableTrait<ByProjectKeyInStoreKeyByStoreKeyCustomersEmailConfirmPostString>

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("")
            .execute()