Class ByProjectKeyMePasswordPostString

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<ByProjectKeyMePasswordPostString,Customer>
com.commercetools.api.client.ByProjectKeyMePasswordPostString
All Implemented Interfaces:
ConflictingTrait<ByProjectKeyMePasswordPostString>, ErrorableTrait<ByProjectKeyMePasswordPostString>, io.vrap.rmf.base.client.ClientRequestCommand<Customer>, 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("")
            .execute()