public function MailchimpTemplates::getTemplate in Mailchimp 8
Gets information a specific template.
Parameters
string $template_id: The ID of the template.
array $parameters: Associative array of optional request parameters.
Return value
object
See also
http://developer.mailchimp.com/documentation/mailchimp/reference/templat...
File
- lib/
mailchimp-api-php/ src/ MailchimpTemplates.php, line 38
Class
- MailchimpTemplates
- Mailchimp Templates library.
Namespace
MailchimpCode
public function getTemplate($template_id, $parameters = []) {
$tokens = [
'template_id' => $template_id,
];
return $this
->request('GET', '/templates/{template_id}', $tokens, $parameters);
}