I am having trouble figuring out how to do the following;
Lets say I have a customer that comes to our site, and buys two of our products. They provide their email, first name, and last name.
And lets say in my exact target account, I have created a template in the following location;
Content > My Templates > PetShop > new_order_template
After they sign up, I want to update my subscribers list
After that, I want to select the template new_order_template, and populate it with the appropriate data.
Lets say this is what I have for data
$email = 'email@example.com'; $first = 'hello'; $last = 'world'; $product = array( array('name'=>'frog','sku'=>'FOG12','price'=>5), array('name'=>'duck','sku'=>'DUK12','price'=>3), );
Could some please help me figure how I would do this in PHP using the Web API.
I would greatly appreciate the help.