DealDiscountsByDealId: Pipedrive Deal Discounts by Deal
insert REST
- Catalog:
Pipedrive - Schema:
Deals - Primary Keys:
id - Label: Deal Discounts by Deal
Can retrieve data and change data using insert.
Summary
The discounts of one deal. Each request costs 10 tokens of the daily budget of the company.
API Source
- Endpoint:
/deals/{id}/discounts
Parameters
| Name | Data Type | Required | Default | Documentation |
|---|---|---|---|---|
deal_ |
int64 |
The deal id. |
Table Columns
The columns of the table DealDiscountsByDealId 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 |
|---|---|---|---|---|---|
amount |
decimal |
Amount | filters on the platform, writable, amount |
The discount amount. | |
created_ |
varchar2 |
Created At | filters on the platform, writable, computed, created_ |
The date and time of when the discount was created in the ISO 8601 format. | |
created_ |
int64 |
Created By | filters on the platform, writable, computed, created_ |
The ID of the user that created the discount. | |
deal_ |
int64 |
Deal ID | filters on the platform, writable, computed, deal_ |
The ID of the deal the discount was added to. | |
description |
varchar2 |
Description | filters on the platform, writable, description |
The name of the discount. | |
id |
varchar2 |
ID | filters on the platform, writable, computed, id |
The ID of the additional discount. | |
type |
varchar2 |
Type | filters on the platform, writable, type |
Determines whether the discount is applied as a percentage or a fixed amount. | |
updated_ |
varchar2 |
Updated At | filters on the platform, writable, computed, updated_ |
The date and time of when the discount was created in the ISO 8601 format. | |
updated_ |
int64 |
Updated By | filters on the platform, writable, computed, updated_ |
The ID of the user that last updated the discount. |