---
title: "DealDiscountsByDealId (Pipedrive)"
description: "Slevy podle nab\u00EDdky"
language: cs
source_language: en
translation_state: pending
canonical: https://documentation.invantive.eu/cs/datamodels/pipedrive/Pipedrive.Deals.DealDiscountsByDealId
original: https://documentation.invantive.eu/en/datamodels/pipedrive/Pipedrive.Deals.DealDiscountsByDealId
updated: 2026-12-05T20:39:44Z
license: https://documentation.invantive.eu/cs/
---

# DealDiscountsByDealId: Pipedrive Deal Discounts by Deal

`insert` `REST`

- Katalog: `Pipedrive`
- Schéma: `Deals`
- Primární klíče: `id`
- Label: Deal Discounts by Deal

Pomocí `insert` lze načíst a měnit data.

## Shrnutí

The discounts of one deal. Each request costs 10 tokens of the daily budget of the company.

## Zdroj API

- Koncový bod: `/deals/{id}/discounts`

## Parametry

| Jméno | Datový typ | Vyžadováno | Výchozí | Dokumentace |
|---|---|:---:|---|---|
| `deal_id` | `int64` | [x] |  | The deal id. |

## Sloupce tabulky

Sloupce tabulky `DealDiscountsByDealId` jsou uvedeny níže. Každý sloupec má datový typ SQL. Pro každý požadovaný sloupec musí být vždy během vkládání a aktualizace zadána nová hodnota, která není nulová (non-null).

| Jméno | Datový typ | Štítek | Vyžadováno | Značky | Dokumentace |
|---|---|---|:---:|---|---|
| `amount` | `decimal` | Množství | [ ] | filtry na platformě, zapisovatelné, `amount` | The discount amount. |
| `created_at` | `varchar2` | Vytvořeno dne | [ ] | filtry na platformě, zapisovatelné, vypočítané, `created_at` | The date and time of when the discount was created in the ISO 8601 format. |
| `created_by` | `int64` | Vytvořil | [ ] | filtry na platformě, zapisovatelné, vypočítané, `created_by` | The ID of the user that created the discount. |
| `deal_id` | `int64` | ID transakce | [ ] | filtry na platformě, zapisovatelné, vypočítané, `deal_id` | The ID of the deal the discount was added to. |
| `description` | `varchar2` | Popis | [ ] | filtry na platformě, zapisovatelné, `description` | The name of the discount. |
| `id` | `varchar2` | ID | [x] | filtry na platformě, zapisovatelné, vypočítané, `id` | The ID of the additional discount. |
| `type` | `varchar2` | Typ | [ ] | filtry na platformě, zapisovatelné, `type` | Determines whether the discount is applied as a percentage or a fixed amount. |
| `updated_at` | `varchar2` | Aktualizováno dne | [ ] | filtry na platformě, zapisovatelné, vypočítané, `updated_at` | The date and time of when the discount was created in the ISO 8601 format. |
| `updated_by` | `int64` | Aktualizováno uživatelem | [ ] | filtry na platformě, zapisovatelné, vypočítané, `updated_by` | The ID of the user that last updated the discount. |
