You are here

public function MailchimpAutomations::getWorkflowEmailSubscribers in Mailchimp 8

Same name in this branch
  1. 8 lib/mailchimp-api-php/src/MailchimpAutomations.php \Mailchimp\MailchimpAutomations::getWorkflowEmailSubscribers()
  2. 8 lib/mailchimp-api-php/tests/src/MailchimpAutomations.php \Mailchimp\Tests\MailchimpAutomations::getWorkflowEmailSubscribers()

Gets queued subscribers from a Mailchimp workflow automation.

Parameters

string $workflow_id: The unique id for the Automation workflow.

string $workflow_email_id: The unique id for the Automation workflow email.

Return value

object

See also

http://developer.mailchimp.com/documentation/mailchimp/reference/automat...

1 call to MailchimpAutomations::getWorkflowEmailSubscribers()
MailchimpAutomations::getWorkflowEmailSubscribers in lib/mailchimp-api-php/tests/src/MailchimpAutomations.php
@inheritdoc
1 method overrides MailchimpAutomations::getWorkflowEmailSubscribers()
MailchimpAutomations::getWorkflowEmailSubscribers in lib/mailchimp-api-php/tests/src/MailchimpAutomations.php
@inheritdoc

File

lib/mailchimp-api-php/src/MailchimpAutomations.php, line 90

Class

MailchimpAutomations

Namespace

Mailchimp

Code

public function getWorkflowEmailSubscribers($workflow_id, $workflow_email_id) {
  $tokens = [
    'workflow_id' => $workflow_id,
    'workflow_email_id' => $workflow_email_id,
  ];
  return $this
    ->request('GET', '/automations/{workflow_id}/emails/{workflow_email_id}/queue', $tokens);
}