I have to call another server for some cs-cart hook (create/delete/edit order)... i have to creare custom addon? How can run my code for every hook?

How can start?


Not sure what you mean by every hook. Assume you mean on status change. Look at the hooks in use by other addons for “change_order_status”

Is the same call to another server for all modes? For orders.create, orders.delete and orders.edit? Or should it be different for each mode?

Note that CS-Cart has an API which allows to add/edit/delete orders:


You can use it and make corresponding requests to CS-Cart from the external server