public function MailchimpEcommerce::deleteCustomer in Mailchimp 8
Deletes a customer from a store.
Parameters
string $store_id: The ID of the store.
string $customer_id: The ID of the customer.
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 517
Class
- MailchimpEcommerce
- Mailchimp Ecommerce library.
Namespace
MailchimpCode
public function deleteCustomer($store_id, $customer_id) {
$tokens = [
'store_id' => $store_id,
'customer_id' => $customer_id,
];
return $this
->request('DELETE', '/ecommerce/stores/{store_id}/customers/{customer_id}', $tokens);
}