Class ByProjectKeyCustomersPasswordResetPostString

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<T,TResult,String>
io.vrap.rmf.base.client.StringBodyApiMethod<ByProjectKeyCustomersPasswordResetPostString,Customer>
com.commercetools.api.client.ByProjectKeyCustomersPasswordResetPostString
All Implemented Interfaces:
ErrorableTrait<ByProjectKeyCustomersPasswordResetPostString>, 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 ByProjectKeyCustomersPasswordResetPostString extends io.vrap.rmf.base.client.StringBodyApiMethod<ByProjectKeyCustomersPasswordResetPostString,Customer> implements ErrorableTrait<ByProjectKeyCustomersPasswordResetPostString>

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



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