Tatjana Posted February 11, 2021 Share Posted February 11, 2021 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. Link to comment Share on other sites More sharing options...
Daresh Posted February 11, 2021 Share Posted February 11, 2021 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. Link to comment Share on other sites More sharing options...
Tatjana Posted February 11, 2021 Author Share Posted February 11, 2021 I have https://addons.prestashop.com/en/data-import-export/24523-easy-import-products-from-csv-excel-xml-json-txt.html bought. But if suppliers provides an API documentations? What now? Link to comment Share on other sites More sharing options...
Daresh Posted February 11, 2021 Share Posted February 11, 2021 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. Link to comment Share on other sites More sharing options...
Tatjana Posted February 11, 2021 Author Share Posted February 11, 2021 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? Link to comment Share on other sites More sharing options...
Prestashop Addict Posted February 11, 2021 Share Posted February 11, 2021 (edited) 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 February 11, 2021 by Prestashop Addict (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now