View Source ActiveCampaign.Account (active_campaign v0.2.3)

Documentation for ActiveCampaign.Account.

Link to this section Summary

Functions

Bulk delete accounts

Create a account

Create an account note

Delete a account

Retrieve a account

List all accounts

Update a account

Link to this section Functions

Link to this function

bulk_delete(account_ids)

View Source
@spec bulk_delete([integer()]) :: {:ok, map()} | {:error, any()}

Bulk delete accounts

@spec create(map()) :: {:ok, map()} | {:error, any()}

Create a account

Link to this function

create_note(account_id, note)

View Source
@spec create_note(integer(), String.t()) :: {:ok, map()} | {:error, any()}

Create an account note

@spec delete(integer()) :: {:ok, map()} | {:error, any()}

Delete a account

@spec get(integer()) :: {:ok, map()} | {:error, any()}

Retrieve a account

Link to this function

list(query_params \\ %{})

View Source
@spec list(map()) :: {:ok, map()} | {:error, any()}

List all accounts

@spec update(integer(), map()) :: {:ok, map()} | {:error, any()}

Update a account

Link to this function

update_note(account_id, note_id, note)

View Source
@spec update_note(integer(), integer(), String.t()) :: {:ok, map()} | {:error, any()}

Update an account note