invantive documentation
Invantive Support ForumsLog In / Sign Up

Stages: Pipedrive Stages

insert update delete REST

  • Catalog: Pipedrive
  • Schema: Pipelines
  • Primary Keys: id
  • Label: Stages

Can retrieve data and change data using insert, update and delete.

Summary

The stages of the sales pipelines. Each request costs 5 tokens of the daily budget of the company.

API Source

  • Endpoint: /stages

Table Columns

The columns of the table Stages are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

Name Data Type Label Required Marks Documentation
add_time datetime Creation Time filters on the platform, writable, computed, add_time The stage creation time.
days_to_rotten int64 Days to Rotten filters on the platform, writable, days_to_rotten The number of days the deals not updated in this stage would become rotten.
deal_probability int64 Deal Probability filters on the platform, writable, deal_probability The success probability percentage of the deal.
id int64 ID filters on the platform, writable, computed, id The ID of the stage.
is_deal_rot_enabled char Is Deal Rot Enabled filters on the platform, writable, is_deal_rot_enabled Whether deals in this stage can become rotten.
is_deleted char Is Deleted filters on the platform, writable, computed, is_deleted Whether the stage is marked as deleted or not.
name varchar2 Name filters on the platform, writable, name The name of the stage.
order_nr int64 Sequence Number filters on the platform, writable, computed, order_nr Defines the order of the stage.
pipeline_id int64 Pipeline ID filters on the platform, writable, pipeline_id The ID of the pipeline to add the stage to.
update_time datetime Last Update Time filters on the platform, writable, computed, update_time The stage update time.

Keys

Key Column Refers to Kind Description
Stages_pipeline_id_fk pipeline_id Pipelines.id Key

Referenced By

Sample Queries

select ppe.name pipeline_name
,      stg.name stage_name
,      count(*) deal_count
,      sum(dls.value) deal_value
from   Pipedrive.Deals.Deals dls
join   Pipedrive.Pipelines.Stages stg
on     stg.id = dls.stage_id
join   Pipedrive.Pipelines.Pipelines ppe
on     ppe.id = dls.pipeline_id
where  dls.status = 'open'
group
by     ppe.name
,      stg.name