Jump to content

How to create custom module webservice backend


jan-kratochvil

Recommended Posts

prestashop does support webservices already, and can be enabled in the back office. however to answer your question, yes there is nothing stopping you from creating a module that implements a webservice.

 

I would be curious why it would need to be a module? Why not just create a webservice and place it in a sub-directory of the store?

Link to comment
Share on other sites

Hi, thanks for the answer, I will may be more specific about my problem. The thing is, that I have bought custom module related products, It works well, but I don't want to fill the data in the back-end. I would like to extend the module in a way, I could access it via webservice, like I access products and souch. You think, this is possible?

Link to comment
Share on other sites

technically anything is possible, but again prestashop already has a built-in webservice function that would allow you to do this. perhaps you just need to alter that to match your custom products module.

 

otherwise if you are familiar with php and webservices, you should be able to extend the custom module anyway you see fit.

Link to comment
Share on other sites

Hi, ok, thanks fof the answer, so my question is, how is it possible. I know, that prestashop has webservices, but I'm asking how can I integrate external module? I haven't found any tutorial or documentation how to do that.

 

The best solution would be, that it woud integrate into standard API at prestashop/api and I could manage access rights at AdminWebservice in the backend.

 

Could you please help me, or direct me to some documentation?

 

Thank you, Jan

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