Jump to content

Allowed shops using prestashop web services


actitouch_alex

Recommended Posts

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,

  • Like 1
Link to comment
Share on other sites

  • 11 months later...

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...