How to control access to orders from API

I'm in search of a hook to control the access to orders.

Specifically, I want to give access to orders based on an order field.

I tried using hook_entity_access, but I don't know if I'm on the right way.

thanks for any help!

Posted: Feb 9, 2012