Select and display all customers or a group of customers

New Member
1 0 0

Hello so I have a commercial wholesale website for select customers and I need there to be a functionality to allow our customers from the same company view the order history and details from their fellow users from the same company. (Most probably will give this access to the administrator user account of that company so they can keep track of all company orders.)

I am a backend developer however I would need some documentation so I can select all the customers (not just the active customer) OR select a group of customers grouped by a tag and display their information needed in the account details page. If any one knows how I may use these references or know how I may go about this that would be very helpful