---
title: "DealDiscountsByDealId (Pipedrive)"
description: "Deal Discounts by Deal"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/pipedrive/Pipedrive.Deals.DealDiscountsByDealId
original: https://documentation.invantive.eu/en/datamodels/pipedrive/Pipedrive.Deals.DealDiscountsByDealId
updated: 2026-11-01T16:22:11Z
license: https://documentation.invantive.eu/en/
---

# 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_id` | `int64` | [x] |  | 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_at` | `varchar2` | Created At | [ ] | filters on the platform, writable, computed, `created_at` | The date and time of when the discount was created in the ISO 8601 format. |
| `created_by` | `int64` | Created By | [ ] | filters on the platform, writable, computed, `created_by` | The ID of the user that created the discount. |
| `deal_id` | `int64` | Deal ID | [ ] | filters on the platform, writable, computed, `deal_id` | 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 | [x] | 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_at` | `varchar2` | Updated At | [ ] | filters on the platform, writable, computed, `updated_at` | The date and time of when the discount was created in the ISO 8601 format. |
| `updated_by` | `int64` | Updated By | [ ] | filters on the platform, writable, computed, `updated_by` | The ID of the user that last updated the discount. |

