AbanteCart Community

Shopping Cart Operations => Support => Topic started by: rknott on November 28, 2021, 12:50:47 PM

Title: Using API to Send Customer Data
Post by: rknott on November 28, 2021, 12:50:47 PM
Is there a way to get customer data sent out of AbanteCart when I new customer registration is added?  For example, how could I use something like Zapier to listen for a new customer added into the database, and when that happens, then pull that data and send it out to another application?

Thanks in advance for any assistance!!
Title: Re: Using API to Send Customer Data
Post by: abantecart on November 28, 2021, 04:18:16 PM
You need to integrate AbanteCart with Zapier first.

Alternatively (free), you can monitor Mysql table changes using Mysql binary log and create events based on the change.
There is a lot of information how to do this.

https://medium.com/@mohammedalrowad/monitoring-mysql-data-changes-in-real-time-via-nodejs-binary-logs-c379720c0333

This is without changing AbanteCart code.

If you want to change a code you can create a hook to registration process, and call other external process or some event queue.