invantive documentationpart of invantive cloud
Invantive Support ForumsLog In / Sign Up

ProductDealsByProductId: Pipedrive Product Deals by Product

read only REST

  • Catalog: Pipedrive
  • Schema: Products
  • Primary Keys: id
  • Label: Product Deals by Product

Can only retrieve data.

Summary

The deals in which one product is sold. Each request costs 20 tokens of the daily budget of the company.

API Source

  • Endpoint: /products/{id}/deals

Parameters

Name Data Type Required Default Documentation
product_id int64 The product id.

Table Columns

The columns of the table ProductDealsByProductId 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
active char Active filters on the platform, writable, computed, active Whether the deal is active or not.
activities_count int64 Activities Count filters on the platform, writable, computed, activities_count The number of activities associated with the deal.
acv decimal ACV filters on the platform, writable, computed, acv The Annual Contract Value of the deal. Only on the Growth plan and above.
acv_currency varchar2 ACV Currency filters on the platform, writable, computed, acv_currency The Currency for Annual Contract Value of the deal. Only on the Growth plan and above.
add_time datetime Creation Time filters on the platform, writable, computed, add_time The creation date and time of the deal.
arr decimal ARR filters on the platform, writable, computed, arr The Annual Recurring Revenue of the deal. Only on the Growth plan and above.
arr_currency varchar2 ARR Currency filters on the platform, writable, computed, arr_currency The Currency for Annual Recurring Revenue of the deal. Only on the Growth plan and above.
cc_email varchar2 CC Email filters on the platform, writable, computed, cc_email The BCC email of the deal.
channel int64 Channel filters on the platform, writable, computed, channel The ID of your Marketing channel this Deal was created from.
channel_id varchar2 Channel ID filters on the platform, writable, computed, channel_id The optional ID to further distinguish the Marketing channel.
close_time datetime Close Time filters on the platform, writable, computed, close_time The date and time of closing the deal.
creator_user_id_active_flag char Creator User Active Flag filters on the platform, writable, computed, creator_user_id.active_flag Whether the creator is active or not.
creator_user_id_email varchar2 Creator User Email filters on the platform, writable, computed, creator_user_id.email The email of the deal creator.
creator_user_id_has_pic int64 Creator User Has Picture filters on the platform, writable, computed, creator_user_id.has_pic If the creator has a picture or not.
creator_user_id_id int64 Creator User ID filters on the platform, writable, computed, creator_user_id.id The ID of the deal creator.
creator_user_id_name varchar2 Creator User Name filters on the platform, writable, computed, creator_user_id.name The name of the deal creator.
creator_user_id_pic_hash varchar2 Creator User Picture Hash filters on the platform, writable, computed, creator_user_id.pic_hash The creator picture hash.
creator_user_id_value int64 Creator User Value filters on the platform, writable, computed, creator_user_id.value The ID of the deal creator.
currency varchar2 Currency filters on the platform, writable, computed, currency The currency associated with the deal.
deleted char Deleted filters on the platform, writable, computed, deleted Whether the deal is deleted or not.
done_activities_count int64 Done Activities Count filters on the platform, writable, computed, done_activities_count The number of completed activities associated with the deal.
email_messages_count int64 Email Messages Count filters on the platform, writable, computed, email_messages_count The number of emails associated with the deal.
expected_close_date datetime Expected Close Date filters on the platform, writable, computed, expected_close_date The expected close date of the deal.
files_count int64 Files Count filters on the platform, writable, computed, files_count The number of files associated with the deal.
first_won_time datetime First Won Time filters on the platform, writable, computed, first_won_time The date and time of the first time changing the deal status as won.
followers_count int64 Followers Count filters on the platform, writable, computed, followers_count The number of followers associated with the deal.
formatted_value varchar2 Formatted Value filters on the platform, writable, computed, formatted_value The deal value formatted with selected currency.
formatted_weighted_value varchar2 Formatted Weighted Value filters on the platform, writable, computed, formatted_weighted_value The weighted_value formatted with selected currency.
id int64 ID filters on the platform, writable, computed, id The ID of the deal.
is_archived char Is Archived filters on the platform, writable, computed, is_archived Whether the deal is archived or not.
label varchar2 Label filters on the platform, writable, computed, label The label or multiple labels assigned to the deal.
last_activity_date datetime Last Activity Date filters on the platform, writable, computed, last_activity_date The date of the last activity associated with the deal.
last_activity_id int64 Last Activity ID filters on the platform, writable, computed, last_activity_id The ID of the last activity associated with the deal.
last_incoming_mail_time datetime Last Incoming Mail Time filters on the platform, writable, computed, last_incoming_mail_time The date and time of the last incoming email associated with the deal.
last_outgoing_mail_time datetime Last Outgoing Mail Time filters on the platform, writable, computed, last_outgoing_mail_time The date and time of the last outgoing email associated with the deal.
lost_reason varchar2 Lost Reason filters on the platform, writable, computed, lost_reason The reason for losing the deal.
lost_time datetime Lost Time filters on the platform, writable, computed, lost_time The date and time of changing the deal status as lost.
mrr decimal MRR filters on the platform, writable, computed, mrr The Monthly Recurring Revenue of the deal. Only on the Growth plan and above.
mrr_currency varchar2 MRR Currency filters on the platform, writable, computed, mrr_currency The Currency for Monthly Recurring Revenue of the deal. Only on the Growth plan and above.
next_activity_date datetime Next Activity Date filters on the platform, writable, computed, next_activity_date The date of the next activity associated with the deal.
next_activity_duration varchar2 Next Activity Duration filters on the platform, writable, computed, next_activity_duration The duration of the next activity associated with the deal.
next_activity_id int64 Next Activity ID filters on the platform, writable, computed, next_activity_id The ID of the next activity associated with the deal.
next_activity_note varchar2 Next Activity Note filters on the platform, writable, computed, next_activity_note The note of the next activity associated with the deal.
next_activity_subject varchar2 Next Activity Subject filters on the platform, writable, computed, next_activity_subject The subject of the next activity associated with the deal.
next_activity_time datetime Next Activity Time filters on the platform, writable, computed, next_activity_time The time of the next activity associated with the deal.
next_activity_type varchar2 Next Activity Type filters on the platform, writable, computed, next_activity_type The type of the next activity associated with the deal.
notes_count int64 Notes Count filters on the platform, writable, computed, notes_count The number of notes associated with the deal.
org_hidden char Organization Hidden filters on the platform, writable, computed, org_hidden If the organization that is associated with the deal is hidden or not.
org_id_active_flag char Organization Active Flag filters on the platform, writable, computed, org_id.active_flag Whether the associated organization is active or not.
org_id_address varchar2 Organization Address filters on the platform, writable, computed, org_id.address The address of the organization that is associated with the deal.
org_id_cc_email varchar2 Organization CC Email filters on the platform, writable, computed, org_id.cc_email The BCC email of the organization associated with the deal.
org_id_name varchar2 Organization Name filters on the platform, writable, computed, org_id.name The name of the organization associated with the deal.
org_id_owner_id int64 Organization Owner ID filters on the platform, writable, computed, org_id.owner_id The ID of the owner of the organization that is associated with the deal.
org_id_people_count int64 Organization People Count filters on the platform, writable, computed, org_id.people_count The number of people connected with the organization that is associated with the deal.
org_id_value int64 Organization Value filters on the platform, writable, computed, org_id.value The ID of the organization associated with the deal.
org_name varchar2 Organization Name filters on the platform, writable, computed, org_name The name of the organization associated with the deal.
origin varchar2 Origin filters on the platform, writable, computed, origin The way this Deal was created.
origin_id varchar2 Origin ID filters on the platform, writable, computed, origin_id The optional ID to further distinguish the origin of the deal - e.g. Which API integration created this Deal.
owner_name varchar2 Owner Name filters on the platform, writable, computed, owner_name The name of the deal owner.
participants_count int64 Participants Count filters on the platform, writable, computed, participants_count The number of participants associated with the deal.
person_hidden char Person Hidden filters on the platform, writable, computed, person_hidden If the person that is associated with the deal is hidden or not.
person_id_active_flag char Person Active Flag filters on the platform, writable, computed, person_id.active_flag Whether the associated person is active or not.
person_id_email varchar2 Person Email filters on the platform, writable, computed, person_id.email The emails of the person associated with the deal.
person_id_name varchar2 Person Name filters on the platform, writable, computed, person_id.name The name of the person associated with the deal.
person_id_owner_id int64 Person Owner ID filters on the platform, writable, computed, person_id.owner_id The ID of the owner of the person that is associated with the deal.
person_id_phone varchar2 Person Phone filters on the platform, writable, computed, person_id.phone The phone numbers of the person associated with the deal.
person_id_value int64 Person Value filters on the platform, writable, computed, person_id.value The ID of the person associated with the deal.
person_name varchar2 Person Name filters on the platform, writable, computed, person_name The name of the person associated with the deal.
pipeline_id int64 Pipeline ID filters on the platform, writable, computed, pipeline_id The ID of the pipeline associated with the deal.
probability decimal Probability filters on the platform, writable, computed, probability The success probability percentage of the deal.
product_id int64 Product ID filters on the platform, writable, computed, product_id The product id the rows were read for.
products_count int64 Products Count filters on the platform, writable, computed, products_count The number of products associated with the deal.
rotten_time datetime Rotten Time filters on the platform, writable, computed, rotten_time The date and time of changing the deal status as rotten.
stage_change_time datetime Stage Change Time filters on the platform, writable, computed, stage_change_time The last updated date and time of the deal stage.
stage_id int64 Stage ID filters on the platform, writable, computed, stage_id The ID of the deal stage.
stage_order_nr int64 Stage Sequence Number filters on the platform, writable, computed, stage_order_nr The order number of the deal stage associated with the deal.
status varchar2 Status filters on the platform, writable, computed, status The status of the deal.
title varchar2 Title filters on the platform, writable, computed, title The title of the deal.
undone_activities_count int64 Undone Activities Count filters on the platform, writable, computed, undone_activities_count The number of incomplete activities associated with the deal.
update_time datetime Last Update Time filters on the platform, writable, computed, update_time The last updated date and time of the deal.
user_id_active_flag char User Active Flag filters on the platform, writable, computed, user_id.active_flag Whether the user is active or not.
user_id_email varchar2 User Email filters on the platform, writable, computed, user_id.email The email of the user.
user_id_has_pic char User Has Picture filters on the platform, writable, computed, user_id.has_pic If the user has a picture or not.
user_id_id int64 User ID filters on the platform, writable, computed, user_id.id The ID of the user.
user_id_name varchar2 User Name filters on the platform, writable, computed, user_id.name The name of the user.
user_id_pic_hash varchar2 User Picture Hash filters on the platform, writable, computed, user_id.pic_hash The user picture hash.
user_id_value int64 User Value filters on the platform, writable, computed, user_id.value The ID of the user.
value decimal Value filters on the platform, writable, computed, value The value of the deal.
visible_to varchar2 Visible To filters on the platform, writable, computed, visible_to The visibility of the deal.
weighted_value decimal Weighted Value filters on the platform, writable, computed, weighted_value Probability times deal value.
weighted_value_currency varchar2 Weighted Value Currency filters on the platform, writable, computed, weighted_value_currency The currency associated with the deal.
won_time datetime Won Time filters on the platform, writable, computed, won_time The date and time of changing the deal status as won.