actitouch_alex Posted August 19, 2013 Share Posted August 19, 2013 Hi buddies, I've recently created a prestashop website working with the multi-shop service implemented since version 1.5. I created some shops and one employee by shop with limited access. I'm currently developping an admin plateform using the prestashop web service (no database). The authentification uses the employee table by webservice and works fine. But, once logged, i can't access to the list of allowed shops for this specific employee. I found the link table in the database but nothing in the list of available entities by webservice. the only datas given by the webservice are these: <employee> <id>2</id>[/indent] <id_lang xlink:href="*********">1</id_lang>[/indent] <last_passwd_gen>2013-08-19 05:47:36</last_passwd_gen>[/indent] <stats_date_from>2013-08-19</stats_date_from>[/indent] <stats_date_to>2013-08-19</stats_date_to>[/indent] <passwd>******************</passwd>[/indent] <lastname>default</lastname>[/indent] <firstname>default</firstname>[/indent] <email>*********@gmail.com</email>[/indent] <active>1</active>[/indent] <id_profile>2</id_profile>[/indent] <bo_color/>[/indent] <default_tab>1</default_tab>[/indent] <bo_theme>default</bo_theme>[/indent] <bo_width>0</bo_width>[/indent] <bo_show_screencast>0</bo_show_screencast>[/indent] </employee> My final goal is to find orders of the day for all shops allowed for the authentified employee. If anybody has a solution to display available shops, it should be very fine . Thank's in advance, 1 Link to comment Share on other sites More sharing options...
actitouch_alex Posted August 21, 2013 Author Share Posted August 21, 2013 up! Link to comment Share on other sites More sharing options...
Adamcmoi Posted August 26, 2013 Share Posted August 26, 2013 Hi actitcouh_alex, If you find a solution to your problem, would you mind posting it here ? I have a similar issue and it's bugging me for days. Thanks ! Link to comment Share on other sites More sharing options...
Wazzu Posted August 26, 2014 Share Posted August 26, 2014 Hi! Same problem here at versions 1.6 I've tried to create the employee using specific shop's url for calling web service, but the api key is not valid for the new created shop :-( I don't understand how should this be done. Any help? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now