Class ByProjectKeyMePasswordPost

All Implemented Interfaces:
ConflictingTrait<ByProjectKeyMePasswordPost>, ErrorableTrait<ByProjectKeyMePasswordPost>, ClientRequestCommand<Customer>, CreateHttpRequestCommand, HttpRequestCommand<Customer>, 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()