Author Topic: Using API to Send Customer Data  (Read 1674 times)

Offline rknott

  • Newbie
  • *
  • Posts: 4
  • Karma: +1/-0
    • View Profile
Using API to Send Customer Data
« 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!!

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4358
  • Karma: +298/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: Using API to Send Customer Data
« Reply #1 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.
« Last Edit: November 28, 2021, 04:20:32 PM by abantecart »
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

 

Powered by SMFPacks Social Login Mod