- property array $email_addresses Array of email addresses to unsubscribe.
- property string $update_source Required parameter to specify the update source performing the unsubscribe.
- property string $opt_out_reason Optional parameter to specify the reason for the unsubscribe.
- property bool $delete_contacts Optional parameter to specify if the contact(s) should be soft-deleted as part of the unsubscribe.
- property bool $global_unsubscribe Optional parameter to specify if the contact's email address should be unsubscribed from all partner child accounts. When specified only a single email address in the
email_addressesarray can be specified.
CloneableInstantiable
- Extends
- Implements
JsonSerializable
| Methods |
| Properties |
| protected static array $fields = ['email_addresses' => 'array', 'update_source' => ['Account', 'Contact', 'System'], 'opt_out_reason' => 'string', 'delete_contacts' => 'bool', 'global_unsubscribe' => 'bool'] |
| protected static array $maxLength = ['opt_out_reason' => 255] |
| protected static array $requiredFields = ['update_source'] |
| Properties |
| protected static array $fields = ['email_addresses' => 'array', 'update_source' => ['Account', 'Contact', 'System'], 'opt_out_reason' => 'string', 'delete_contacts' => 'bool', 'global_unsubscribe' => 'bool'] |
| protected static array $maxLength = ['opt_out_reason' => 255] |
| protected static array $requiredFields = ['update_source'] |