View Source ActiveCampaign.Ecom.Customer (active_campaign v0.2.3)

Documentation for ActiveCampaign.Ecom.Customer.

Link to this section Summary

Functions

Create a customer

Delete a customer

Retrieve a customer

List all customers

Update a customer

Link to this section Functions

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

Create a customer

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

Delete a customer

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

Retrieve a customer

Link to this function

list(query_params \\ %{})

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

List all customers

Link to this function

update(id, ecomCustomer)

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

Update a customer