Deals: Pipedrive Deals
insert update delete REST
- 카탈로그:
Pipedrive - 스키마:
Deals - 기본 키:
id - 레이블: 거래
insert, update, delete를 사용하여 데이터를 조회하거나 수정할 수 있습니다.
요약
The deals that are not archived, deleted ones included when filtered on status 'deleted'. Each request costs 10 tokens of the daily budget of the company.
API 소스
- 종점:
/deals
표의 열
표 Deals의 열은 다음과 같습니다. 각 열에는 SQL 데이터 유형이 지정되어 있습니다. 삽입 및 업데이트 작업 중에는 항상 모든 필수 열에 대해 null이 아닌 새로운 값을 지정해야 합니다.
| 이름 | 데이터 유형 | 라벨 | 필요한 공간 | 점수 | 문서 |
|---|---|---|---|---|---|
acme_ |
datetime |
ACME Contract Period | 플랫폼의 필터, 쓰기 가능, custom_ |
The custom field 'ACME Contract Period' of the company. | |
acme_ |
datetime |
ACME Contract Period | 플랫폼의 필터, 쓰기 가능, custom_ |
Part 'acme_contract_period_until' of the custom field 'ACME Contract Period' of the company. | |
acme_ |
decimal |
ACME Contract Value | 플랫폼의 필터, 쓰기 가능, custom_ |
The custom field 'ACME Contract Value' of the company. | |
acme_ |
varchar2 |
ACME Contract Value | 플랫폼의 필터, 쓰기 가능, custom_ |
Part 'acme_contract_value_currency' of the custom field 'ACME Contract Value' of the company. | |
acme_ |
varchar2 |
ACME Delivery Address | 플랫폼의 필터, 쓰기 가능, custom_ |
The custom field 'ACME Delivery Address' of the company. | |
acme_ |
varchar2 |
ACME Delivery Address | 플랫폼의 필터, 쓰기 가능, custom_ |
Part 'acme_delivery_address_admin_area_level_1' of the custom field 'ACME Delivery Address' of the company. | |
acme_ |
varchar2 |
ACME Delivery Address | 플랫폼의 필터, 쓰기 가능, custom_ |
Part 'acme_delivery_address_admin_area_level_2' of the custom field 'ACME Delivery Address' of the company. | |
acme_ |
varchar2 |
ACME Delivery Address | 플랫폼의 필터, 쓰기 가능, custom_ |
Part 'acme_delivery_address_country' of the custom field 'ACME Delivery Address' of the company. | |
acme_ |
varchar2 |
ACME Delivery Address | 플랫폼의 필터, 쓰기 가능, custom_ |
Part 'acme_delivery_address_formatted_address' of the custom field 'ACME Delivery Address' of the company. | |
acme_ |
varchar2 |
ACME Delivery Address | 플랫폼의 필터, 쓰기 가능, custom_ |
Part 'acme_delivery_address_locality' of the custom field 'ACME Delivery Address' of the company. | |
acme_ |
varchar2 |
ACME Delivery Address | 플랫폼의 필터, 쓰기 가능, custom_ |
Part 'acme_delivery_address_postal_code' of the custom field 'ACME Delivery Address' of the company. | |
acme_ |
varchar2 |
ACME Delivery Address | 플랫폼의 필터, 쓰기 가능, custom_ |
Part 'acme_delivery_address_route' of the custom field 'ACME Delivery Address' of the company. | |
acme_ |
varchar2 |
ACME Delivery Address | 플랫폼의 필터, 쓰기 가능, custom_ |
Part 'acme_delivery_address_street_number' of the custom field 'ACME Delivery Address' of the company. | |
acme_ |
varchar2 |
ACME Delivery Address | 플랫폼의 필터, 쓰기 가능, custom_ |
Part 'acme_delivery_address_sublocality' of the custom field 'ACME Delivery Address' of the company. | |
acme_ |
varchar2 |
ACME Delivery Address | 플랫폼의 필터, 쓰기 가능, custom_ |
Part 'acme_delivery_address_subpremise' of the custom field 'ACME Delivery Address' of the company. | |
acme_ |
varchar2 |
ACME External Reference | 플랫폼의 필터, 쓰기 가능, custom_ |
The custom field 'ACME External Reference' of the company. | |
acme_ |
varchar2 |
ACME Product Lines | 플랫폼의 필터, 쓰기 가능, custom_ |
The custom field 'ACME Product Lines' of the company. | |
acme_ |
varchar2 |
ACME Product Lines Labels | 플랫폼에서 필터링 가능, 쓰기 가능, 계산됨, _ |
The labels of the chosen options of the custom field 'ACME Product Lines'. | |
acme_ |
int64 |
ACME Region | 플랫폼의 필터, 쓰기 가능, custom_ |
The custom field 'ACME Region' of the company. | |
acme_ |
varchar2 |
ACME Region Label | 플랫폼에서 필터링 가능, 쓰기 가능, 계산됨, _ |
The labels of the chosen options of the custom field 'ACME Region'. | |
acme_ |
datetime |
ACME Renewal Date | 플랫폼의 필터, 쓰기 가능, custom_ |
The custom field 'ACME Renewal Date' of the company. | |
acme_ |
decimal |
ACME Seats | 플랫폼의 필터, 쓰기 가능, custom_ |
The custom field 'ACME Seats' of the company. | |
acv |
decimal |
ACV | 플랫폼에서 필터링 가능, 쓰기 가능, 계산됨, acv |
The Annual Contract Value of the deal.Only on the Growth plan and above. | |
add_ |
datetime |
생성 시간 | 플랫폼에서 필터링 가능, 쓰기 가능, 계산됨, add_ |
The creation date and time of the deal. | |
archive_ |
datetime |
보관 기간 | 플랫폼의 필터, 쓰기 가능, _ |
The optional date and time of archiving the deal in UTC.쓰기 시에만 적용되며, 읽기 시에는 비어 있습니다. | |
arr |
decimal |
ARR | 플랫폼에서 필터링 가능, 쓰기 가능, 계산됨, arr |
The Annual Recurring Revenue of the deal.Only on the Growth plan and above. | |
channel |
int64 |
채널 | 플랫폼에서 필터링 가능, 쓰기 가능, 계산됨, channel |
The ID of your Marketing channel this Deal was created from. | |
channel_ |
varchar2 |
채널 ID | 플랫폼에서 필터링 가능, 쓰기 가능, 계산됨, channel_ |
The optional ID to further distinguish the Marketing channel. | |
close_ |
datetime |
마감 시간 | 플랫폼의 필터, 쓰기 가능, close_ |
The date and time of closing the deal. | |
currency |
varchar2 |
통화 | 플랫폼의 필터, 쓰기 가능, currency |
The currency associated with the deal. | |
expected_ |
datetime |
예상 마감일 | 플랫폼의 필터, 쓰기 가능, expected_ |
The expected close date of the deal. | |
id |
int64 |
ID | 플랫폼에서 필터링 가능, 쓰기 가능, 계산됨, id |
The ID of the deal. | |
is_ |
char |
보관됨 | 플랫폼의 필터, 쓰기 가능, is_ |
Whether the deal is archived or not. | |
is_ |
char |
삭제됨 | 플랫폼의 필터, 쓰기 가능, is_ |
Whether the deal is deleted or not. | |
label_ |
varchar2 |
라벨 ID | 플랫폼의 필터, 쓰기 가능, label_ |
The IDs of labels assigned to the deal. | |
lost_ |
varchar2 |
잃어버린 이성 | 플랫폼의 필터, 쓰기 가능, lost_ |
The reason for losing the deal. | |
lost_ |
datetime |
잃어버린 시간 | 플랫폼의 필터, 쓰기 가능, lost_ |
The date and time of changing the deal status as lost. | |
mrr |
decimal |
MRR | 플랫폼에서 필터링 가능, 쓰기 가능, 계산됨, mrr |
The Monthly Recurring Revenue of the deal.Only on the Growth plan and above. | |
org_id |
int64 |
조직 ID | 플랫폼의 필터, 쓰기 가능, org_id |
The ID of the organization linked to the deal. | |
origin |
varchar2 |
출처 | 플랫폼에서 필터링 가능, 쓰기 가능, 계산됨, origin |
The way this Deal was created. | |
origin_ |
varchar2 |
원본 ID | 플랫폼에서 필터링 가능, 쓰기 가능, 계산됨, origin_ |
The optional ID to further distinguish the origin of the deal - e.g. Which API integration created this Deal. | |
owner_ |
int64 |
소유자 ID | 플랫폼의 필터, 쓰기 가능, owner_ |
The ID of the user who owns the deal. | |
person_ |
int64 |
개인 식별번호 | 플랫폼의 필터, 쓰기 가능, person_ |
The ID of the person linked to the deal. | |
pipeline_ |
int64 |
파이프라인 ID | 플랫폼의 필터, 쓰기 가능, pipeline_ |
The ID of the pipeline associated with the deal. | |
probability |
decimal |
확률 | 플랫폼의 필터, 쓰기 가능, probability |
The success probability percentage of the deal. | |
source_ |
varchar2 |
소스 리드 ID | 플랫폼에서 필터링 가능, 쓰기 가능, 계산됨, source_ |
The ID of the lead if the deal was converted from a lead. | |
stage_ |
datetime |
무대 교체 시간 | 플랫폼에서 필터링 가능, 쓰기 가능, 계산됨, stage_ |
The last updated date and time of the deal stage. | |
stage_ |
int64 |
무대 ID | 플랫폼의 필터, 쓰기 가능, stage_ |
The ID of the deal stage. | |
status |
varchar2 |
상태 | 플랫폼의 필터, 쓰기 가능, status |
The status of the deal. | |
title |
varchar2 |
타이틀 | 플랫폼의 필터, 쓰기 가능, title |
The title of the deal. | |
update_ |
datetime |
최종 업데이트 시간 | 플랫폼에서 필터링 가능, 쓰기 가능, 계산됨, update_ |
The last updated date and time of the deal. | |
value |
decimal |
값 | 플랫폼의 필터, 쓰기 가능, value |
The value of the deal. | |
visible_ |
int64 |
표시 대상 | 플랫폼의 필터, 쓰기 가능, visible_ |
The visibility of the deal. | |
won_ |
datetime |
승리 시간 | 플랫폼의 필터, 쓰기 가능, won_ |
The date and time of changing the deal status as won. |
키
| 키 | 칼럼 | 다음과 관련된 레퍼런스 | 종류 | 설명 |
|---|---|---|---|---|
Deals_ |
currency |
Currencies.code |
키 | |
Deals_ |
org_id |
Organizations.id |
키 | |
Deals_ |
origin |
LeadSources.name |
후보자 | Follows from the name of the column and held in every row of the sandbox on 2026-10-31; not stated by Pipedrive. |
Deals_ |
owner_ |
Users.id |
키 | |
Deals_ |
person_ |
Persons.id |
키 | |
Deals_ |
pipeline_ |
Pipelines.id |
키 | |
Deals_ |
source_ |
ArchivedLeads.id |
텍스트 | The lead the deal was converted from, in Leads or, once archived, in ArchivedLeads. |
Deals_ |
source_ |
Leads.id |
텍스트 | The lead the deal was converted from, in Leads or, once archived, in ArchivedLeads. |
Deals_ |
stage_ |
Stages.id |
키 |
레퍼런스됨
- Activities
deal_id(Textual) - CallLogs
deal_id(텍스트) - DealParticipantsByDealId
related_item_id(텍스트) - DealProducts
deal_id(Key) - ArchivedLeads
source_deal_id(텍스트) - Leads
source_deal_id(Textual) - Files
deal_id(Textual) - Notes
deal_id(Textual) - RecentChangesBySinceTimestamp
id(텍스트)
Query 예시
select dls.id
, dls.title
, dls.update_time
from Pipedrive.Deals.Deals dls
where dls.update_time >= sysdateutc - 1
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