View Source Infusionsoft.Endpoints.XML.Contact (Infusionsoft v0.8.0)
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.
Summary
Functions
https://developer.infusionsoft.com/docs/xml-rpc/#contact-add-a-tag-to-a-contact
https://developer.infusionsoft.com/docs/xml-rpc/#contact-create-a-contact
@spec create_and_check_for_duplicate(map(), String.t(), atom()) :: {:ok, integer()} | {:error, String.t()}
https://developer.infusionsoft.com/docs/xml-rpc/#contact-create-a-contact-and-check-for-duplicates
@spec link_contacts(integer(), integer(), integer(), String.t()) :: {:ok, true | false} | {:error, String.t()}
https://developer.infusionsoft.com/docs/xml-rpc/#contact-link-contacts
https://developer.infusionsoft.com/docs/xml-rpc/#contact-list-linked-contacts
https://developer.infusionsoft.com/docs/xml-rpc/#contact-merge-two-contacts
https://developer.infusionsoft.com/docs/xml-rpc/#contact-remove-a-tag-from-a-contact
@spec retrieve_a_contact(integer(), [String.t()], String.t()) :: {:ok, map()} | {:error, String.t()}
https://developer.infusionsoft.com/docs/xml-rpc/#contact-retrieve-a-contact
@spec search_by_email(String.t(), [String.t()], String.t()) :: {:ok, [map()]} | {:error, String.t()}
https://developer.infusionsoft.com/docs/xml-rpc/#contact-search-for-a-contact-by-an-email-address
@spec unlink_contacts(integer(), integer(), integer(), String.t()) :: {:ok, true | false} | {:error, String.t()}
https://developer.infusionsoft.com/docs/xml-rpc/#contact-unlink-contacts
https://developer.infusionsoft.com/docs/xml-rpc/#contact-update-a-contact