Unsubscribe a customer to a conversation
Overview
In this scenario, we show how to unsubscribe a customer from a conversation without sending an email to the customer.
XML
<?xml version=
"1.0"
encoding=
"UTF-8"
?>
<kanaRoot>
<EventRequest Id=
""
CompanyName=
"default"
CampaignName=
"camp1"
>
</Customer>
</EventRequest>
</kanaRoot>
Result
If the customer with the email address, [email protected], is not subscribed to the conversation associated with the CampaignName, then no action is performed. If there is an existing row in the CUST_SUBSCRIPTION table for the subscription, then status_code is set to 200 (deactivate). This unsubscribes the customer from the conversation.
No email is sent.