I am working on a custom api call and I am using beans instead of an sql statement to get the info that I want. So I am doing something like this:
$in_customer_bean = BeanFactory::getBean("IN_Customers",$customer_id);
Then for debugging purposes I am returning the in_customer_bean to see what it is. It should be that record in the db only in bean form right?
When I view it in postman after doing a rebuild it given me back the correct type of object but everything is null or 0. What am I doing wrong?