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!
Comments
I'm trying something similar
I'm trying something similar for a marketplace project.
Did you find some solution for this?