Infusionsoft v0.6.1 Infusionsoft.Endpoints.REST.Contact View Source

Provides the raw endpoints to Infusionsoft’s REST API for Contact.

Link to this section Summary

Link to this section Functions

Link to this function list_contacts(token, params \\ nil) View Source
list_contacts(String.t(), map() | nil) :: {:ok, map()} | {:error, any()}

https://developer.infusionsoft.com/docs/rest/#!/Contact/listContactsUsingGET

Available Parameters: %{ limit: integer(), offset: integer(), email: String.t(), given_name: String.t(), family_name: String.t(), order: String.t(), order_direction: String.t(), since: String.t(), until: String.t() }

Link to this function retrieve_a_contact(id, token, params \\ nil) View Source
retrieve_a_contact(integer(), String.t(), [String.t()] | nil) ::
  {:ok, map()} | {:error, any()}
Link to this function update_a_contact(id, fields, token, params \\ nil) View Source
update_a_contact(integer(), map(), String.t(), [String.t()] | nil) ::
  {:ok, map()} | {:error, any()}