Class ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordResetPost

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

public class ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordResetPost extends io.vrap.rmf.base.client.BodyApiMethod<ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordResetPost,Customer,CustomerResetPassword> implements ErrorableTrait<ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordResetPost>

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

If the Customer exists in the Project but the stores field references a different Store, this method returns a ResourceNotFound error.



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