Good Morning All,
I've worn myself out looking for the solution to integrating MailChimp APIs into my PHP scripts.
Is there anyone in here that is familiar with doing that?
I have the simple part done, where people can subscribe to a Newsletter to get more info, in which case they fall into the category of 'visitor' in the mail list, but the next 2 steps I don't understand how to implement.
This is the docs for the process: https://apidocs.mailchimp.com/api/how-to/sync-you-to-mailchimp.php
But when it gets to Figure out how you want to connect to the API, I am totally lost.
What I need to do is to use an API call to MailChimp in my php script so when someone registers as a 'member' of my site through the form in my back office. That API call would either add them to my maillist as a 'member' or if the email already exists as a 'visitor', it would upgrade that record to 'member'.
Then the second one is almost identical, but set up so when they make a purchase, it would do the API call to update their record from 'member' to 'customer' since they would have to be a 'member' before they ever make a purchase to become a 'customer'.
Any Help or direction would be Greatly appreciated.
I've been trying to figure this out on and off for about 3 weeks now.
Thanks in advance.