Class ByProjectKeyMePasswordResetPost

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

public class ByProjectKeyMePasswordResetPost extends io.vrap.rmf.base.client.TypeBodyApiMethod<ByProjectKeyMePasswordResetPost,Customer,MyCustomerResetPassword> implements ErrorableTrait<ByProjectKeyMePasswordResetPost>

This is the last step in the password reset process of a Customer.

Resetting a password of the Customer produces the CustomerPasswordUpdated Message with reset=true.



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