ac_get_accounts: Retrieve all existing account

Description Usage Arguments Value See Also Examples

View source: R/ac_get_accounts.R

Description

Retrieve all existing account

Usage

1
ac_get_accounts(search = NULL, count_deals = FALSE)

Arguments

search

Search by name

count_deals

Whether to compute the contactCount and dealCount counts for the number of contacts/deals associated with each account. Set it to true to include the right counts. If set to false or omitted from the call, then contactCount and dealCount will not be counted and be simply displayed as 0.

Value

tibble with account list

See Also

Accounts

Examples

1
2
3
4
5
6
7
## Not run: 
Sys.setenv('ACTIVECAMPAGN_API_TOKEN' = "YOUR_TOKEN")
Sys.setenv('ACTIVECAMPAGN_API_URL' = "https://<your-account>.api-us1.com")

my_accounts <- ac_get_accounts(search = 'name')

## End(Not run)

ractivecampaign documentation built on Nov. 12, 2021, 5:07 p.m.