Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 1.94 KB

UpdateContact.md

File metadata and controls

16 lines (12 loc) · 1.94 KB

UpdateContact

Properties

Name Type Description Notes
Attributes map[string]interface{} 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, `{ "EMAIL":"newemail@domain.com", "FNAME":"Ellie", "LNAME":"Roger"}`. 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 "SMS" field should be passed with proper country code. For example {"SMS":"+91xxxxxxxxxx"} or {"SMS":"0091xxxxxxxxxx"} [optional] [default to null]
ExtId string Pass your own Id to update ext_id of a contact. [optional] [default to null]
EmailBlacklisted bool Set/unset this field to blacklist/allow the contact for emails (emailBlacklisted = true) [optional] [default to null]
SmsBlacklisted bool Set/unset this field to blacklist/allow the contact for SMS (smsBlacklisted = true) [optional] [default to null]
ListIds []int64 Ids of the lists to add the contact to [optional] [default to null]
UnlinkListIds []int64 Ids of the lists to remove the contact from [optional] [default to null]
SmtpBlacklistSender []string transactional email forbidden sender for contact. Use only for email Contact [optional] [default to null]

[Back to Model list] [Back to API list] [Back to README]