You are here

public function MailchimpEcommerce::getCustomers in Mailchimp 8

Get information about a store's customers.

Parameters

string $store_id: The ID of the store.

array $parameters: Associative array of optional request parameters.

Return value

object The API customer response object.

See also

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

File

lib/mailchimp-api-php/src/MailchimpEcommerce.php, line 414

Class

MailchimpEcommerce
Mailchimp Ecommerce library.

Namespace

Mailchimp

Code

public function getCustomers($store_id, $parameters = []) {
  $tokens = [
    'store_id' => $store_id,
  ];
  return $this
    ->request('GET', '/ecommerce/stores/{store_id}/customers', $tokens, $parameters);
}