You are here

public function MailchimpEcommerce::getStore in Mailchimp 8

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

Gets information about a specific store.

Parameters

string $store_id: The ID of the store.

array $parameters: Associative array of optional request parameters.

Return value

object The API store response object.

See also

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

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

File

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

Class

MailchimpEcommerce
Mailchimp Ecommerce library.

Namespace

Mailchimp

Code

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