Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 1.78 KB

File metadata and controls

14 lines (11 loc) · 1.78 KB

Brevo::UpdateContact

Properties

Name Type Description Notes
attributes Hash<String, Object> Pass the set of attributes to be updated. These attributes must be present in your account. Values that don't match the attribute type (e.g. text or string in a date attribute) will be ignored.To update existing email address of a contact with the new one please pass EMAIL in attributes. For example, `{ &quot;EMAIL&quot;:&quot;newemail@domain.com&quot;, &quot;FNAME&quot;:&quot;Ellie&quot;, &quot;LNAME&quot;:&quot;Roger&quot;, &quot;COUNTRIES&quot;:[&quot;India&quot;,&quot;China&quot;]}`. The attribute's parameter should be passed in capital letter while updating a contact. Keep in mind transactional attributes can be updated the same way as normal attributes. Mobile Number in &quot;SMS&quot; field should be passed with proper country code. For example {&quot;SMS&quot;:&quot;+91xxxxxxxxxx&quot;} or {&quot;SMS&quot;:&quot;0091xxxxxxxxxx&quot;} [optional]
ext_id String Pass your own Id to update ext_id of a contact. [optional]
email_blacklisted BOOLEAN Set/unset this field to blacklist/allow the contact for emails (emailBlacklisted = true) [optional]
sms_blacklisted BOOLEAN Set/unset this field to blacklist/allow the contact for SMS (smsBlacklisted = true) [optional]
list_ids Array<Integer> Ids of the lists to add the contact to [optional]
unlink_list_ids Array<Integer> Ids of the lists to remove the contact from [optional]
smtp_blacklist_sender Array<String> transactional email forbidden sender for contact. Use only for email Contact [optional]