Sync Order

Hi,

i've to sync cs-cart with external application, i've make a soap connection after every order for syncronize the products availability... how can do?

Thanks in advance

First off I'd look to see if there's an existing integration in the marketplace that works with whatever you're connecting to.

If not, then you should use the 'place_order' hook to write the php code to send the data using HTTP.

Alternatively, if what you're wanting to do is update inventory data, you can do an API call TO cs-cart and read the inventory for each product and then update your data. You could do this periodically (hourly maybe) rather than having it trigger on an order.

Hi,

i've to sync cs-cart with external application, i've make a soap connection after every order for syncronize the products availability... how can do?

Thanks in advance

please keep in mind that also product update is changing the stocks , but this will depend where and how you do the product add/update

Thanks to all... have you got one API example?

Thanks to all... have you got one API example?

You can find documentation and examples here:

http://docs.cs-cart.com/4.6.x/developer_guide/api/index.html