Is it possible to create Item in erpnext and that item/product automatically creates in opencart or php code?

Is it possible to create Item in erpnext and that item/product automatically creates in opencart or in php?

I have successfully created api call from opencart/php to erpnext that create item in erpnext when product is created in opencart. But I need to do vice versa. Is it possible?

Thanks

one way is to use a webhook that calls a URL on the PHP/opencart side

Here are docs https://frappe.io/docs/user/en/guides/integration/webhooks

Thank you @RWEMA_Aimable and @clarkej