public function MailchimpAutomations::getWorkflowEmailSubscriber in Mailchimp 8
Same name in this branch
- 8 lib/mailchimp-api-php/src/MailchimpAutomations.php \Mailchimp\MailchimpAutomations::getWorkflowEmailSubscriber()
- 8 lib/mailchimp-api-php/tests/src/MailchimpAutomations.php \Mailchimp\Tests\MailchimpAutomations::getWorkflowEmailSubscriber()
Gets a subscriber from a Mailchimp workflow automation email queue.
Parameters
string $workflow_id: The unique id for the Automation workflow.
string $workflow_email_id: The unique id for the Automation workflow email.
string $email: The email address of the subscriber.
Return value
object
See also
http://developer.mailchimp.com/documentation/mailchimp/reference/automat...
1 call to MailchimpAutomations::getWorkflowEmailSubscriber()
- MailchimpAutomations::getWorkflowEmailSubscriber in lib/
mailchimp-api-php/ tests/ src/ MailchimpAutomations.php - @inheritdoc
1 method overrides MailchimpAutomations::getWorkflowEmailSubscriber()
- MailchimpAutomations::getWorkflowEmailSubscriber in lib/
mailchimp-api-php/ tests/ src/ MailchimpAutomations.php - @inheritdoc
File
- lib/
mailchimp-api-php/ src/ MailchimpAutomations.php, line 113
Class
Namespace
MailchimpCode
public function getWorkflowEmailSubscriber($workflow_id, $workflow_email_id, $email) {
$tokens = [
'workflow_id' => $workflow_id,
'workflow_email_id' => $workflow_email_id,
'subscriber_hash' => md5(strtolower($email)),
];
return $this
->request('GET', '/automations/{workflow_id}/emails/{workflow_email_id}/queue/{subscriber_hash}', $tokens);
}