You are here

public function MailchimpConnectedSites::getConnectedSite in Mailchimp 8

Gets a connected site.

Parameters

string $connected_site_id: The ID of the connected site.

array $parameters: Associative array of optional request parameters.

Return value

object

File

lib/mailchimp-api-php/src/MailchimpConnectedSites.php, line 36

Class

MailchimpConnectedSites
Mailchimp Connected Sites library.

Namespace

Mailchimp

Code

public function getConnectedSite($connected_site_id, $parameters = []) {
  $tokens = [
    'connected_site_id' => $connected_site_id,
  ];
  return $this
    ->request('GET', '/connected-sites/{connected_site_id}', $tokens, $parameters);
}