You are here

public function MailchimpEcommerce::deleteStore in Mailchimp 8

Deletes a Mailchimp store.

Parameters

string $store_id: The ID of the store.

Return value

object The API store response object.

See also

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

File

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

Class

MailchimpEcommerce
Mailchimp Ecommerce library.

Namespace

Mailchimp

Code

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