Class ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordTokenPostString

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

Use this method to create a password reset token for a Store-specific Customer during their password reset process.

Creating a password reset token does not invalidate existing tokens.

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.CustomerToken>> result = apiRoot
            .withProjectKey("{projectKey}")
            .inStoreKeyWithStoreKeyValue("{storeKey}")
            .customers()
            .passwordToken()
            .post("")
            .execute()