Hi, we are trying to use your RestAPI for getting data like customer.
Is it possible to login to Api with Admin Token, but getting Data with another user_id?
For example special User(group) prices, only visible products for this user or anything else.
Maybe it coud help to add an hook at Line 246 of app/Tygh/Api.php
Maybe like this:
fn_set_hook('api_define_area', $area, $user_data);
Or you have another solution for this.
Thank you.