Class ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordResetPost

All Implemented Interfaces:
ErrorableTrait<ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordResetPost>, ClientRequestCommand<Customer>, CreateHttpRequestCommand, HttpRequestCommand<Customer>, RequestCommand<Customer>

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()