Class ByProjectKeyCustomersPasswordTokenPostString

All Implemented Interfaces:
ErrorableTrait<ByProjectKeyCustomersPasswordTokenPostString>, ClientRequestCommand<CustomerToken>, CreateHttpRequestCommand, HttpRequestCommand<CustomerToken>, RequestCommand<CustomerToken>

Use this method to create a password reset token for a global Customer during their password reset process.

Creating a password reset token does not invalidate existing tokens.



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