Class ByProjectKeyInStoreKeyByStoreKeyCustomersEmailTokenPost

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<ByProjectKeyInStoreKeyByStoreKeyCustomersEmailTokenPost,CustomerToken,CustomerCreateEmailToken>
com.commercetools.api.client.ByProjectKeyInStoreKeyByStoreKeyCustomersEmailTokenPost
All Implemented Interfaces:
ErrorableTrait<ByProjectKeyInStoreKeyByStoreKeyCustomersEmailTokenPost>, 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 ByProjectKeyInStoreKeyByStoreKeyCustomersEmailTokenPost extends io.vrap.rmf.base.client.TypeBodyApiMethod<ByProjectKeyInStoreKeyByStoreKeyCustomersEmailTokenPost,CustomerToken,CustomerCreateEmailToken> implements ErrorableTrait<ByProjectKeyInStoreKeyByStoreKeyCustomersEmailTokenPost>

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