View Source ActiveCampaign.Deal.Stage (active_campaign v0.2.3)

Documentation for ActiveCampaign.Deal.Stage.

Link to this section Summary

Functions

Create a stage

Delete a stage

Retrieve a stage

List all stages

Move deals to another stage

Update a stage

Link to this section Functions

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

Create a stage

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

Delete a stage

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

Retrieve a stage

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

List all stages

Link to this function

move(from_deal_stage_id, to_deal_stage_id)

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

Move deals to another stage

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

Update a stage