Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.29 KB

ContactPayload.md

File metadata and controls

34 lines (25 loc) · 1.29 KB

ContactPayload

Properties

Name Type Description Notes
email str Proper email address.
status ContactStatus [optional]
first_name str First name. [optional]
last_name str Last name. [optional]
custom_fields Dict[str, str] A key-value collection of custom contact fields which can be used in the system. Only already existing custom fields will be saved. [optional]
consent ConsentData [optional]

Example

from ElasticEmail.models.contact_payload import ContactPayload

# TODO update the JSON string below
json = "{}"
# create an instance of ContactPayload from a JSON string
contact_payload_instance = ContactPayload.from_json(json)
# print the JSON string representation of the object
print(ContactPayload.to_json())

# convert the object into a dict
contact_payload_dict = contact_payload_instance.to_dict()
# create an instance of ContactPayload from a dict
contact_payload_from_dict = ContactPayload.from_dict(contact_payload_dict)

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