Infusionsoft.Endpoints.XML.Contact (Infusionsoft v0.7.0) View Source
Provides the raw endpoints to Infusionsoft's XML API for Contact.
A few endpoints that are available in the API documentation have not been implemented, but the function names have been included in comments.
Link to this section Summary
Link to this section Functions
Specs
add_tag(integer(), integer(), String.t(), nil | String.t()) :: {:ok, true | false} | {:error, String.t()}
https://developer.infusionsoft.com/docs/xml-rpc/#contact-add-a-tag-to-a-contact
Specs
https://developer.infusionsoft.com/docs/xml-rpc/#contact-create-a-contact
create_and_check_for_duplicate(data, dupe_check_type, token, app \\ nil)
View SourceSpecs
create_and_check_for_duplicate(map(), String.t(), atom(), nil | String.t()) :: {:ok, integer()} | {:error, String.t()}
https://developer.infusionsoft.com/docs/xml-rpc/#contact-create-a-contact-and-check-for-duplicates
link_contacts(contact_id_1, contact_id_2, link_type_id, token, app \\ nil)
View SourceSpecs
link_contacts(integer(), integer(), integer(), String.t(), nil | String.t()) :: {:ok, true | false} | {:error, String.t()}
https://developer.infusionsoft.com/docs/xml-rpc/#contact-link-contacts
Specs
list_linked_contacts(integer(), String.t(), nil | String.t()) :: {:ok, list()} | {:error, String.t()}
https://developer.infusionsoft.com/docs/xml-rpc/#contact-list-linked-contacts
merge_contacts(contact_id, duplicate_contact_id, token, app \\ nil)
View SourceSpecs
merge_contacts(integer(), integer(), String.t(), nil | String.t()) :: {:ok, integer()} | {:error, String.t()}
https://developer.infusionsoft.com/docs/xml-rpc/#contact-merge-two-contacts
Specs
remove_tag(integer(), integer(), String.t(), nil | String.t()) :: {:ok, true | false} | {:error, String.t()}
https://developer.infusionsoft.com/docs/xml-rpc/#contact-remove-a-tag-from-a-contact
retrieve_a_contact(contact_id, selected_fields, token, app \\ nil)
View SourceSpecs
retrieve_a_contact(integer(), [String.t()], String.t(), nil | String.t()) :: {:ok, map()} | {:error, String.t()}
https://developer.infusionsoft.com/docs/xml-rpc/#contact-retrieve-a-contact
Specs
search_by_email(String.t(), [String.t()], String.t(), nil | String.t()) :: {:ok, [map()]} | {:error, String.t()}
https://developer.infusionsoft.com/docs/xml-rpc/#contact-search-for-a-contact-by-an-email-address
unlink_contacts(contact_id_1, contact_id_2, link_type_id, token, app \\ nil)
View SourceSpecs
unlink_contacts(integer(), integer(), integer(), String.t(), nil | String.t()) :: {:ok, true | false} | {:error, String.t()}
https://developer.infusionsoft.com/docs/xml-rpc/#contact-unlink-contacts
Specs
update_a_contact(integer(), map(), String.t(), nil | String.t()) :: {:ok, integer()} | {:error, String.t()}
https://developer.infusionsoft.com/docs/xml-rpc/#contact-update-a-contact