Class ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordTokenPost

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<ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordTokenPost,CustomerToken,CustomerCreatePasswordResetToken>
com.commercetools.api.client.ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordTokenPost
All Implemented Interfaces:
ErrorableTrait<ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordTokenPost>, io.vrap.rmf.base.client.ClientRequestCommand<CustomerToken>, io.vrap.rmf.base.client.CreateHttpRequestCommand, io.vrap.rmf.base.client.HttpRequestCommand<CustomerToken>, io.vrap.rmf.base.client.RequestCommand<CustomerToken>

public class ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordTokenPost extends io.vrap.rmf.base.client.TypeBodyApiMethod<ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordTokenPost,CustomerToken,CustomerCreatePasswordResetToken> implements ErrorableTrait<ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordTokenPost>

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(null)
            .execute()