Jump to content

Web service logic & must have functions


HaCos

Recommended Posts

Hello, i am looking for a way to make our business ERP & PS store to communicate and update each other for specific items. I read the web services documentation but because of luck on experience i will need some help from the community. 

 

I tested the basic examples that are shared on github and i am surprised why more examples are not shared. What we try to accomplish is:

 

From ERP to ESHOP :

1. update product availability

2. order status update

 

From ESHOP to ERP :

1. New order export (customer info should be extracted separately?)

 

I bet someone must have already completed similar tasks. Any help or how to guide would be appreciated. 

 

If i have understand the logic correctly, it goes like this:

A. We export an xml, csv (any kind of file) from erp db with product_id & availability , lets say test.xml 

B. We use PSWebServiceLibrary.php and a custom function (inside another php file) to read values from test.xml and update availability that meets product_id to PS db via the web service.

C. We set a cron job for these php files.

  • Like 1
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...