Jump to content

Recommended Posts

Hi,

I need to add records to the 'customer_group' table via the Prestashop(1.5.6.0) webservice, however, I can not find how to create webservice permissions for this table.

 

At the moment I can update the 'customer' default group via the webservice accessing the customer table, but when I do this I also need to add extra group associations for the same user. This functionality via another application is required to give users instant access rights.

 

Any ideas how to achieve this?

 

Thanks

  • Like 1
Link to comment
Share on other sites

  • 4 months later...

Hi,

 

I have same problem. When I'm inserting new customer from webservice, the customer is inserted successfully and id_default_group field of table ps_customer recieved value, but the ps_customer_group table gets wrong entry for this insertion. id_group field of same table always insert with 0, that is wrong groupId. And as the result, when I'm trying to login with that user which was inserted using webservice the system stuck, Header and all the products got disappeared, I can't even navigate to home page of prestashop.

Any idea how to add entry in ps_customer_group via webservice?

 

 

Thanks.

Link to comment
Share on other sites

  • 2 years later...

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...