Class ByProjectKeyMePasswordPost

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

Changing the password of the Customer produces the CustomerPasswordUpdated Message with reset=false.

If the current password does not match, an InvalidCurrentPassword error is returned.



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