Jump to content

How to connect an API (Top Tex) to update stock according to a supplier


LucasC
 Share

Recommended Posts

Hi,

I am a developer but I am not very familiar with Prestashop and I would like to know if it is possible to use an API to manage the stocks of your store? If so, how? (For my part, I will use the TopTex API)

Thank you in advance for your help,

all regards, 

 

Share this post


Link to post
Share on other sites

3 hours ago, LucasC said:

Hi,

I am a developer but I am not very familiar with Prestashop and I would like to know if it is possible to use an API to manage the stocks of your store? If so, how? (For my part, I will use the TopTex API)

Thank you in advance for your help,

all regards, 

 

Hi,
The basic concept to connect PrestaShop with an API is to use a module for the prestashop that creates a bridge between the two systems. 
Through this module you can request the needed informations from the TopTex API and update the stocks (in your case) in your prestashop. 
Firstly I recommend you to familiarize with the prestashop and the module creation. 
You can find the documentation here: 
https://devdocs.prestashop.com/1.7/basics/
I hope that I could help.
Have a nice day, Leo.

Share this post


Link to post
Share on other sites

26 minutes ago, LucasC said:

Thank you, I looked at the documentation, but it's unclear, do you have an example module to connect to an API?

It's not the module wrapper that is important it's the actual code to a accomplish a feature.  For module example use any module on your dev shop.  Hopefully the 3rd larty feature you are wanting has api .doc.

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
 Share

×
×
  • Create New...

Important Information

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