Bagisto Web Api - Customers Registration
I am using Bagisto v.1.1.2 and I am able to register customers in Bagistro through api-customer registration without problems.
Besides the fields email, first_name, last_name, password, password_confirmation I also need to register the group to which this customer belongs.
I tried to add the "group" field to the list of parameters with the corresponding "id" value but the registered user is still in the "general" group.
Could you advise me how to do this?
Thank you very much.
Currently this feature is not available in our customer registration api. If you want to achive this functionality you have to do some customisation in API related code according to you requirements.
Thank you for your quick reply !
But could you tell me where I can make this customization? Or rather, what is the source where I can do it? I am not very familiar with Bagisto yet, but I really need to do it. I chose Bagisto because of this api feature, but I didn't know I wouldn't be able to do this complete update on the customer profile.
Thanks a lot.
You can modify code inside CustomerController.php according to your rquierment, path of the file given below:
You can fully customise API service by modifying code according to your need inside API Package. You can find package by following the path given below
Thank you very much!
I will try!