I am trying to look up all orders for a user based on there Phone Number using the API.
I have built an application that uses Web Sockets inside of SugarCRM to do a Popup when a phone call is coming in. The only Data I will have access to at first is a Phone number, so I hope I can look up a user and there orders through the API with just that phone number?
I have done a lot of searching and have not found any examples of looking up orders by phone number through the API.
Does anyone have an idea if this is even possible? Or better how to do it?