Connecting from Wordpress to an external API to get productos, prices, stock and save them in WP

Corimusical

Member
Hello team,

Is it possible to connect my actual woocommerce store to an external API for getting the catalog: products, price, stock, availability, etc and save them into the woocommerce database in my web?

Thank you
 
P

Pabblymember11

Guest
Hey @Corimusical

Could you please share your complete use case and the name of the API which you are referring to, along with its rest API documentation?

So that we can look into the possibility for the same.
 

Corimusical

Member
Here you have the API documentation

That's the API I need to get the data to my web (now I'm doing it manually and it takes me a lot of time each week) and the problem is I can't sync unavailable products from the API, so the keep showing in my website:

bloommarbella.es

It would be the best if I can sync with my provider's API and save the data to my WP Woocommerce database and schedule it for everyday

Thank you
 
P

Pabblymember11

Guest
Hey @Corimusical

Please refer to the following screenshot on your API request which you are trying to process.

1662034261555.png
 

Corimusical

Member
Hello Supreme

I see that step as Action. I would like to know how to put the trigger for fetching the data from the external API.

Thank you
 
Top