---
title: "ArchivedDeals (Pipedrive)"
description: "Arkistoidut tarjoukset"
language: fi
source_language: en
translation_state: pending
canonical: https://documentation.invantive.eu/fi/datamodels/pipedrive/Pipedrive.Deals.ArchivedDeals
original: https://documentation.invantive.eu/en/datamodels/pipedrive/Pipedrive.Deals.ArchivedDeals
updated: 2026-12-05T19:46:18Z
license: https://documentation.invantive.eu/fi/
---

# ArchivedDeals: Pipedrive Archived Deals

`update` `delete` `REST`

- Luettelo: `Pipedrive`
- Kaavio: `Deals`
- Ensisijaiset avaimet: `id`
- Label: Archived Deals

Voit hakea ja muokata tietoja käyttämällä `update` ja `delete`.

## Yhteenveto

The archived deals. Each request costs 20 tokens of the daily budget of the company.

## API-lähde

- Päätepiste: `/deals/archived`

## Taulukon sarakkeet

Taulukon `ArchivedDeals` sarakkeet on esitetty alla. Jokaisella sarakkeella on oma SQL-tietotyyppinsä. Jokaiselle pakolliselle sarakkeelle on annettava uusi, nollasta poikkeava arvo aina, kun suoritetaan lisäys- tai päivitystoiminto.

| Nimi | Tietotyyppi | Etiketti | Tarvitaan | Merkit | Dokumentaatio |
|---|---|---|:---:|---|---|
| `acme_contract_period` | `datetime` | ACME Contract Period | [ ] | alustan suodattimet, kirjoitettavissa, `custom_fields.6896075a66cf84149483264322680e69b411ee3e.value` | The custom field 'ACME Contract Period' of the company. |
| `acme_contract_period_until` | `datetime` | ACME Contract Period | [ ] | alustan suodattimet, kirjoitettavissa, `custom_fields.6896075a66cf84149483264322680e69b411ee3e.until` | Part 'acme_contract_period_until' of the custom field 'ACME Contract Period' of the company. |
| `acme_contract_value` | `decimal` | ACME Contract Value | [ ] | alustan suodattimet, kirjoitettavissa, `custom_fields.fe13934927824850c24048140e20616402b6aeff.value` | The custom field 'ACME Contract Value' of the company. |
| `acme_contract_value_currency` | `varchar2` | ACME Contract Value | [ ] | alustan suodattimet, kirjoitettavissa, `custom_fields.fe13934927824850c24048140e20616402b6aeff.currency` | Part 'acme_contract_value_currency' of the custom field 'ACME Contract Value' of the company. |
| `acme_delivery_address` | `varchar2` | ACME Delivery Address | [ ] | alustan suodattimet, kirjoitettavissa, `custom_fields.527fcb45fb7c3270c94bf4be803fe9ddd47ba269.value` | The custom field 'ACME Delivery Address' of the company. |
| `acme_delivery_address_admin_area_level_1` | `varchar2` | ACME Delivery Address | [ ] | alustan suodattimet, kirjoitettavissa, `custom_fields.527fcb45fb7c3270c94bf4be803fe9ddd47ba269.admin_area_level_1` | Part 'acme_delivery_address_admin_area_level_1' of the custom field 'ACME Delivery Address' of the company. |
| `acme_delivery_address_admin_area_level_2` | `varchar2` | ACME Delivery Address | [ ] | alustan suodattimet, kirjoitettavissa, `custom_fields.527fcb45fb7c3270c94bf4be803fe9ddd47ba269.admin_area_level_2` | Part 'acme_delivery_address_admin_area_level_2' of the custom field 'ACME Delivery Address' of the company. |
| `acme_delivery_address_country` | `varchar2` | ACME Delivery Address | [ ] | alustan suodattimet, kirjoitettavissa, `custom_fields.527fcb45fb7c3270c94bf4be803fe9ddd47ba269.country` | Part 'acme_delivery_address_country' of the custom field 'ACME Delivery Address' of the company. |
| `acme_delivery_address_formatted_address` | `varchar2` | ACME Delivery Address | [ ] | alustan suodattimet, kirjoitettavissa, `custom_fields.527fcb45fb7c3270c94bf4be803fe9ddd47ba269.formatted_address` | Part 'acme_delivery_address_formatted_address' of the custom field 'ACME Delivery Address' of the company. |
| `acme_delivery_address_locality` | `varchar2` | ACME Delivery Address | [ ] | alustan suodattimet, kirjoitettavissa, `custom_fields.527fcb45fb7c3270c94bf4be803fe9ddd47ba269.locality` | Part 'acme_delivery_address_locality' of the custom field 'ACME Delivery Address' of the company. |
| `acme_delivery_address_postal_code` | `varchar2` | ACME Delivery Address | [ ] | alustan suodattimet, kirjoitettavissa, `custom_fields.527fcb45fb7c3270c94bf4be803fe9ddd47ba269.postal_code` | Part 'acme_delivery_address_postal_code' of the custom field 'ACME Delivery Address' of the company. |
| `acme_delivery_address_route` | `varchar2` | ACME Delivery Address | [ ] | alustan suodattimet, kirjoitettavissa, `custom_fields.527fcb45fb7c3270c94bf4be803fe9ddd47ba269.route` | Part 'acme_delivery_address_route' of the custom field 'ACME Delivery Address' of the company. |
| `acme_delivery_address_street_number` | `varchar2` | ACME Delivery Address | [ ] | alustan suodattimet, kirjoitettavissa, `custom_fields.527fcb45fb7c3270c94bf4be803fe9ddd47ba269.street_number` | Part 'acme_delivery_address_street_number' of the custom field 'ACME Delivery Address' of the company. |
| `acme_delivery_address_sublocality` | `varchar2` | ACME Delivery Address | [ ] | alustan suodattimet, kirjoitettavissa, `custom_fields.527fcb45fb7c3270c94bf4be803fe9ddd47ba269.sublocality` | Part 'acme_delivery_address_sublocality' of the custom field 'ACME Delivery Address' of the company. |
| `acme_delivery_address_subpremise` | `varchar2` | ACME Delivery Address | [ ] | alustan suodattimet, kirjoitettavissa, `custom_fields.527fcb45fb7c3270c94bf4be803fe9ddd47ba269.subpremise` | Part 'acme_delivery_address_subpremise' of the custom field 'ACME Delivery Address' of the company. |
| `acme_external_reference` | `varchar2` | ACME External Reference | [ ] | alustan suodattimet, kirjoitettavissa, `custom_fields.97dc6423c82198942fbaf22a2643b1d23f355cdb` | The custom field 'ACME External Reference' of the company. |
| `acme_product_lines` | `varchar2` | ACME Product Lines | [ ] | alustan suodattimet, kirjoitettavissa, `custom_fields.79bf9d0e284bf04281c56b9dc991e42166f86efb` | The custom field 'ACME Product Lines' of the company. |
| `acme_product_lines_labels` | `varchar2` | ACME Product Lines Labels | [ ] | suodattaa alustalla, kirjoitettava, laskettu, `__labels.79bf9d0e284bf04281c56b9dc991e42166f86efb` | The labels of the chosen options of the custom field 'ACME Product Lines'. |
| `acme_region` | `int64` | ACME Region | [ ] | alustan suodattimet, kirjoitettavissa, `custom_fields.4741923a810774c80bf83b0dcc79a08f6e59911d` | The custom field 'ACME Region' of the company. |
| `acme_region_label` | `varchar2` | ACME Region Label | [ ] | suodattaa alustalla, kirjoitettava, laskettu, `__labels.4741923a810774c80bf83b0dcc79a08f6e59911d` | The labels of the chosen options of the custom field 'ACME Region'. |
| `acme_renewal_date` | `datetime` | ACME Renewal Date | [ ] | alustan suodattimet, kirjoitettavissa, `custom_fields.adb4fa55e4e402beaf62a61f4743352be194aaf7` | The custom field 'ACME Renewal Date' of the company. |
| `acme_seats` | `decimal` | ACME Seats | [ ] | alustan suodattimet, kirjoitettavissa, `custom_fields.01b665b6da996dbb9999866e8248c5d4c5b6a50b` | The custom field 'ACME Seats' of the company. |
| `acv` | `decimal` | ACV | [ ] | suodattaa alustalla, kirjoitettava, laskettu, `acv` | The Annual Contract Value of the deal.Only on the Growth plan and above. |
| `add_time` | `datetime` | Luomisaika | [ ] | suodattaa alustalla, kirjoitettava, laskettu, `add_time` | The creation date and time of the deal. |
| `archive_time` | `datetime` | Arkistointiaika | [ ] | alustan suodattimet, kirjoitettavissa, `__write_only.archive_time` | The optional date and time of archiving the deal in UTC.Otetaan huomioon vain kirjoitettaessa; tyhjä luettaessa. |
| `arr` | `decimal` | ARR | [ ] | suodattaa alustalla, kirjoitettava, laskettu, `arr` | The Annual Recurring Revenue of the deal.Only on the Growth plan and above. |
| `channel` | `int64` | Kanava | [ ] | suodattaa alustalla, kirjoitettava, laskettu, `channel` | The ID of your Marketing channel this Deal was created from. |
| `channel_id` | `varchar2` | Kanavan tunnus | [ ] | suodattaa alustalla, kirjoitettava, laskettu, `channel_id` | The optional ID to further distinguish the Marketing channel. |
| `close_time` | `datetime` | Sulkemisaika | [ ] | alustan suodattimet, kirjoitettavissa, `close_time` | The date and time of closing the deal. |
| `currency` | `varchar2` | Valuutta | [ ] | alustan suodattimet, kirjoitettavissa, `currency` | The currency associated with the deal. |
| `expected_close_date` | `datetime` | Arvioitu päättymispäivä | [ ] | alustan suodattimet, kirjoitettavissa, `expected_close_date` | The expected close date of the deal. |
| `id` | `int64` | ID | [x] | suodattaa alustalla, kirjoitettava, laskettu, `id` | The ID of the deal. |
| `is_archived` | `char` | On arkistoitu | [ ] | alustan suodattimet, kirjoitettavissa, `is_archived` | Whether the deal is archived or not. |
| `is_deleted` | `char` | On poistettu | [ ] | alustan suodattimet, kirjoitettavissa, `is_deleted` | Whether the deal is deleted or not. |
| `label_ids` | `varchar2` | Tunnisteiden tunnukset | [ ] | alustan suodattimet, kirjoitettavissa, `label_ids` | The IDs of labels assigned to the deal. |
| `lost_reason` | `varchar2` | Kadonnut järki | [ ] | alustan suodattimet, kirjoitettavissa, `lost_reason` | The reason for losing the deal. |
| `lost_time` | `datetime` | Menetetty aika | [ ] | alustan suodattimet, kirjoitettavissa, `lost_time` | The date and time of changing the deal status as lost. |
| `mrr` | `decimal` | MRR | [ ] | suodattaa alustalla, kirjoitettava, laskettu, `mrr` | The Monthly Recurring Revenue of the deal.Only on the Growth plan and above. |
| `org_id` | `int64` | Organisaation tunnus | [ ] | alustan suodattimet, kirjoitettavissa, `org_id` | The ID of the organization linked to the deal. |
| `origin` | `varchar2` | Alkuperä | [ ] | suodattaa alustalla, kirjoitettava, laskettu, `origin` | The way this Deal was created. |
| `origin_id` | `varchar2` | Alkuperä-tunnus | [ ] | suodattaa alustalla, kirjoitettava, laskettu, `origin_id` | The optional ID to further distinguish the origin of the deal - e.g. Which API integration created this Deal. |
| `owner_id` | `int64` | Omistajan tunnus | [ ] | alustan suodattimet, kirjoitettavissa, `owner_id` | The ID of the user who owns the deal. |
| `person_id` | `int64` | Henkilötunnus | [ ] | alustan suodattimet, kirjoitettavissa, `person_id` | The ID of the person linked to the deal. |
| `pipeline_id` | `int64` | Putkilinjan tunniste | [ ] | alustan suodattimet, kirjoitettavissa, `pipeline_id` | The ID of the pipeline associated with the deal. |
| `probability` | `decimal` | Todennäköisyys | [ ] | alustan suodattimet, kirjoitettavissa, `probability` | The success probability percentage of the deal. |
| `source_lead_id` | `varchar2` | Lähteen tunniste | [ ] | suodattaa alustalla, kirjoitettava, laskettu, `source_lead_id` | The ID of the lead if the deal was converted from a lead. |
| `stage_change_time` | `datetime` | Vaiheen vaihtoaika | [ ] | suodattaa alustalla, kirjoitettava, laskettu, `stage_change_time` | The last updated date and time of the deal stage. |
| `stage_id` | `int64` | Vaiheen tunnus | [ ] | alustan suodattimet, kirjoitettavissa, `stage_id` | The ID of the deal stage. |
| `status` | `varchar2` | Tila | [ ] | alustan suodattimet, kirjoitettavissa, `status` | The status of the deal. |
| `title` | `varchar2` | Otsikko | [ ] | alustan suodattimet, kirjoitettavissa, `title` | The title of the deal. |
| `update_time` | `datetime` | Viimeisin päivitysaika | [ ] | suodattaa alustalla, kirjoitettava, laskettu, `update_time` | The last updated date and time of the deal. |
| `value` | `decimal` | Arvo | [ ] | alustan suodattimet, kirjoitettavissa, `value` | The value of the deal. |
| `visible_to` | `int64` | Näkyy seuraaville | [ ] | alustan suodattimet, kirjoitettavissa, `visible_to` | The visibility of the deal. |
| `won_time` | `datetime` | Voittoaika | [ ] | alustan suodattimet, kirjoitettavissa, `won_time` | The date and time of changing the deal status as won. |

## Avaimet

| Avain | Sarake | Viittaa | Laji | Kuvaus |
|---|---|---|---|---|
| `ArchivedDeals_currency_fk` | `currency` | [Currencies](Pipedrive.Settings.Currencies)`.code` | Avain |  |
| `ArchivedDeals_org_id_fk` | `org_id` | [Organizations](Pipedrive.Contacts.Organizations)`.id` | Avain |  |
| `ArchivedDeals_origin_cnd` | `origin` | [LeadSources](Pipedrive.Leads.LeadSources)`.name` | Ehdokas | Follows from the name of the column and held in every row of the sandbox on 2026-10-31; not stated by Pipedrive. |
| `ArchivedDeals_owner_id_fk` | `owner_id` | [Users](Pipedrive.Users.Users)`.id` | Avain |  |
| `ArchivedDeals_person_id_fk` | `person_id` | [Persons](Pipedrive.Contacts.Persons)`.id` | Avain |  |
| `ArchivedDeals_pipeline_id_fk` | `pipeline_id` | [Pipelines](Pipedrive.Pipelines.Pipelines)`.id` | Avain |  |
| `ArchivedDeals_source_lead_id_ArchivedLeads_txt` | `source_lead_id` | [ArchivedLeads](Pipedrive.Leads.ArchivedLeads)`.id` | Tekstimuotoinen | The lead the deal was converted from, in Leads or, once archived, in ArchivedLeads. |
| `ArchivedDeals_source_lead_id_Leads_txt` | `source_lead_id` | [Leads](Pipedrive.Leads.Leads)`.id` | Tekstimuotoinen | The lead the deal was converted from, in Leads or, once archived, in ArchivedLeads. |
| `ArchivedDeals_stage_id_fk` | `stage_id` | [Stages](Pipedrive.Pipelines.Stages)`.id` | Avain |  |

## Viitattu seuraavissa lähteissä

- [Activities](Pipedrive.Activities.Activities) `deal_id` (Textual)
- [CallLogs](Pipedrive.Activities.CallLogs) `deal_id` (tekstuaalinen)
- [ArchivedLeads](Pipedrive.Leads.ArchivedLeads) `source_deal_id` (tekstuaalinen)
- [Leads](Pipedrive.Leads.Leads) `source_deal_id` (Textual)
- [Files](Pipedrive.Notes.Files) `deal_id` (Textual)
- [Notes](Pipedrive.Notes.Notes) `deal_id` (Textual)
