Jump to content

Recommended Posts

Hello,

maybe someone will be so kind and tell me something about API, especially I am interested in how to import products to Prestashop by API?

Thank you.

Share this post


Link to post
Share on other sites

API is just a way of communicating between Prestashop and external systems. To be able to use the API, external system must know Prestashop and how to communicate with it.

If you have some source of products (like a CSV or XML file) you rather need an import module than to use API. API is to communicate between software.

Share this post


Link to post
Share on other sites

Then you need a developer to write software communicating with the API and for example translating it's responses to a CSV file that you can later import by your module.

Share this post


Link to post
Share on other sites

It is php coding, isn't it? If so, I can try to connect to api and GET products and convert somehow to xml, for example. Am I right? 

Share this post


Link to post
Share on other sites
il y a 30 minutes, Tatjana a dit :

It is php coding, isn't it? If so, I can try to connect to api and GET products and convert somehow to xml, for example. Am I right? 

Hi, Prestashop proposes natively a secured API. So according to your project it depends who is the initiator. If it's externaly you need to develop a programm that use the REST API of Prestashop. If it's inernaly (embeded in Prestashop) you need to develop an import module or use on in addons if the flow is in a standard format CSV, XML...

Regards

Edited by Prestashop Addict (see edit history)

Share this post


Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More