Skip to content

Commit 339cee6

Browse files
Release v26.0.0 from PR #621
2 parents d542259 + 5f2f38b commit 339cee6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+2802
-422
lines changed

CHANGELOG.md

Lines changed: 86 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,90 @@ For public Changelog covering all changes done to Pipedrive’s API, webhooks an
88

99
## [Unreleased]
1010

11+
## [26.0.0] - 2025-05-06
12+
### Fixed
13+
- Fixed the OAuth scope of "Add a follower to a product" endpoint in API v2
14+
### Added
15+
- Added `creator_user_id` to responses of Activities v2 endpoints
16+
- Added `marketing_status` documentation to Persons v2 endpoints
17+
- Added archived deals/leads endpoints:
18+
- `GET /v1/deals/archived`
19+
- `GET /v2/deals/archived`
20+
- `GET /v1/deals/timeline/archived`
21+
- `GET /v1/deals/summary/archived`
22+
- `GET /v1/leads/archived`
23+
- Added `is_archived` and `archive_time` properties to deals endpoints response
24+
- Added option to use `sort_by=due_date` sorting for `GET /api/v2/activities`
25+
- Added option to use `done=true/false` quick filter for `GET /api/v2/activities`
26+
- Added `project_id` and `pinned_to_project_flag` query parameter to the GET `/notes` endpoint
27+
- Added `project_id` and `pinned_to_project_flag` request bodies to the POST/PUT `/notes` endpoint
28+
- Added `project_id` and `pinned_to_project_flag` to success responses of GET/POST/PUT
29+
### Changed
30+
- Deprecated `GET /v1/activities` in favor of `GET /api/v2/activities`
31+
- Deprecated `GET /v1/activities/collection` in favor of `GET /api/v2/activities`
32+
- Deprecated `GET /v1/activities/{id}` in favor of `GET /api/v2/activities/{id}`
33+
- Deprecated `POST /v1/activities` in favor of `POST /api/v2/activities`
34+
- Deprecated `PUT /v1/activities/{id}` in favor of `PATCH /api/v2/activities/{id}`
35+
- Deprecated `DELETE /v1/activities/{id}` in favor of `DELETE /api/v2/activities/{id}`
36+
- Deprecated `DELETE /v1/activities` in favor of `DELETE /api/v2/activities/{id}`
37+
- Deprecated `GET /v1/deals` in favor of `GET /api/v2/deals`
38+
- Deprecated `GET /v1/deals/collection` in favor of `GET /api/v2/deals`
39+
- Deprecated `GET /v1/deals/{id}` in favor of `GET /api/v2/deals/{id}`
40+
- Deprecated `GET /v1/deals/search` in favor of `GET /api/v2/deals/search`
41+
- Deprecated `POST /v1/deals` in favor of `POST /api/v2/deals`
42+
- Deprecated `PUT /v1/deals/{id}` in favor of `PATCH /api/v2/deals`
43+
- Deprecated `DELETE /v1/deals/{id}` in favor of `DELETE /api/v2/deals/{id}`
44+
- Deprecated `DELETE /v1/deals` in favor of `DELETE /api/v2/deals/{id}`
45+
- Deprecated `GET /v1/deals/{id}/activities` in favor of `GET /api/v2/activities?deal_id={id}`
46+
- Deprecated `GET /v1/deals/{id}/persons` in favor of `GET /api/v2/persons?deal_id={id}`
47+
- Deprecated `GET /v1/persons` in favor of `GET /api/v2/persons`
48+
- Deprecated `GET /v1/persons/collection` in favor of `GET /api/v2/persons`
49+
- Deprecated `GET /v1/persons/{id}` in favor of `GET /api/v2/persons/{id}`
50+
- Deprecated `GET /v1/persons/search` in favor of `GET /api/v2/persons/search`
51+
- Deprecated `POST /v1/persons` in favor of `POST /api/v2/persons`
52+
- Deprecated `PUT /v1/persons/{id}` in favor of `PATCH /api/v2/persons/{id}`
53+
- Deprecated `DELETE /v1/persons/{id}` in favor of `DELETE /api/v2/persons/{id}`
54+
- Deprecated `DELETE /v1/persons` in favor of `DELETE /api/v2/persons/{id}`
55+
- Deprecated `GET /v1/persons/{id}/deals` in favor of `GET /api/v2/deals?person_id={id}`
56+
- Deprecated `GET /v1/persons/{id}/activities` in favor of `GET /api/v2/activities?person_id={id}`
57+
- Deprecated `GET /v1/organizations` in favor of `GET /api/v2/organizations`
58+
- Deprecated `GET /v1/organizations/collection` in favor of `GET /api/v2/organizations`
59+
- Deprecated `GET /v1/organizations/{id}` in favor of `GET /api/v2/organizations/{id}`
60+
- Deprecated `GET /v1/organizations/search` in favor of `GET /api/v2/organizations/search`
61+
- Deprecated `POST /v1/organizations` in favor of `POST /api/v2/organizations`
62+
- Deprecated `PUT /v1/organizations/{id}` in favor of `PATCH /api/v2/organizations/{id}`
63+
- Deprecated `DELETE /v1/organizations/{id}` in favor of `DELETE /api/v2/organizations/{id}`
64+
- Deprecated `DELETE /v1/organizations` in favor of `DELETE /api/v2/organizations/{id}`
65+
- Deprecated `GET /v1/organizations/{id}/deals` in favor of `GET /api/v2/deals?org_id={id}`
66+
- Deprecated `GET /v1/organizations/{id}/activities` in favor of `GET /api/v2/activities?org_id={id}`
67+
- Deprecated `GET /v1/organizations/{id}/persons` in favor of `GET /api/v2/persons?org_id={id}`
68+
- Deprecated `GET /v1/products` in favor of `GET /api/v2/products`
69+
- Deprecated `GET /v1/products/{id}` in favor of `GET /api/v2/products/{id}`
70+
- Deprecated `GET /v1/products/search` in favor of `GET /api/v2/products/search`
71+
- Deprecated `POST /v1/products` in favor of `POST /api/v2/products`
72+
- Deprecated `PUT /v1/products/{id}` in favor of `PATCH /api/v2/products/{id}`
73+
- Deprecated `DELETE /v1/products/{id}` in favor of `DELETE /api/v2/products/{id}`
74+
- Deprecated `GET /v1/pipelines` in favor of `GET /api/v2/pipelines`
75+
- Deprecated `GET /v1/pipelines/{id}` in favor of `GET /api/v2/pipelines/{id}`
76+
- Deprecated `POST /v1/pipelines` in favor of `POST /api/v2/pipelines`
77+
- Deprecated `PUT /v1/pipelines/{id}` in favor of `PATCH /api/v2/pipelines/{id}`
78+
- Deprecated `DELETE /v1/pipelines/{id}` in favor of `DELETE /api/v2/pipelines/{id}`
79+
- Deprecated `GET /v1/stages` in favor of `GET /api/v2/stages`
80+
- Deprecated `GET /v1/stages/{id}` in favor of `GET /api/v2/stages/{id}`
81+
- Deprecated `POST /v1/stages` in favor of `POST /api/v2/stages`
82+
- Deprecated `PUT /v1/stages/{id}` in favor of `PATCH /api/v2/stages/{id}`
83+
- Deprecated `DELETE /v1/stages/{id}` in favor of `DELETE /api/v2/stages/{id}`
84+
- Deprecated `DELETE /v1/stages` in favor of `DELETE /api/v2/stages/{id}`
85+
- Deprecated `GET /v1/itemSearch` in favor of `GET /api/v2/itemSearch`
86+
- Deprecated `GET /v1/itemSearch/field` in favor of `GET /api/v2/itemSearch/field`
87+
- Updated non archived deals/leads endpoint description to specify that following endpoints do not return archived items:
88+
- `GET /v1/deals`
89+
- `GET /v2/deals`
90+
- `GET /v1/deals/timeline`
91+
- `GET /v1/deals/summary`
92+
- `GET /v1/leads`
93+
- Removed deprecated `archived_status` query parameter from leads endpoints
94+
1195
## [25.0.0] - 2025-03-31
1296
### Changed
1397
- Updated `item_price` field data type in products from integer -> number for products and deal products
@@ -785,7 +869,8 @@ structure
785869
* Fixed `GET /goal/:id/results` error handling in case when there are no existing stages connected to specified goal
786870
* Fixed typo in lead example response (`crrency` to `currency`)
787871

788-
[Unreleased]: https://github.com/pipedrive/api-docs/compare/v25.0.0...HEAD
872+
[Unreleased]: https://github.com/pipedrive/api-docs/compare/v26.0.0...HEAD
873+
[26.0.0]: https://github.com/pipedrive/api-docs/compare/v25.0.0...v26.0.0
789874
[25.0.0]: https://github.com/pipedrive/api-docs/compare/v24.2.0...v25.0.0
790875
[24.2.0]: https://github.com/pipedrive/api-docs/compare/v24.1.1...v24.2.0
791876
[24.1.1]: https://github.com/pipedrive/api-docs/compare/v24.1.0...v24.1.1

docs/v1.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ActivitiesApi | addActivity | **POST** /activities | Add an activity
88
ActivitiesApi | deleteActivities | **DELETE** /activities | Delete multiple activities in bulk
99
ActivitiesApi | deleteActivity | **DELETE** /activities/{id} | Delete an activity
1010
ActivitiesApi | getActivities | **GET** /activities | Get all activities assigned to a particular user
11-
ActivitiesApi | getActivitiesCollection | **GET** /activities/collection | Get all activities (BETA)
11+
ActivitiesApi | getActivitiesCollection | **GET** /activities/collection | Get all activities collection
1212
ActivitiesApi | getActivity | **GET** /activities/{id} | Get details of an activity
1313
ActivitiesApi | updateActivity | **PUT** /activities/{id} | Update an activity
1414
ActivityFieldsApi | getActivityFields | **GET** /activityFields | Get all activity fields
@@ -44,6 +44,9 @@ DealsApi | deleteDealParticipant | **DELETE** /deals/{id}/participants/{deal_par
4444
DealsApi | deleteDealProduct | **DELETE** /deals/{id}/products/{product_attachment_id} | Delete an attached product from a deal
4545
DealsApi | deleteDeals | **DELETE** /deals | Delete multiple deals in bulk
4646
DealsApi | duplicateDeal | **POST** /deals/{id}/duplicate | Duplicate deal
47+
DealsApi | getArchivedDeals | **GET** /deals/archived | Get all archived deals
48+
DealsApi | getArchivedDealsSummary | **GET** /deals/summary/archived | Get archived deals summary
49+
DealsApi | getArchivedDealsTimeline | **GET** /deals/timeline/archived | Get archived deals timeline
4750
DealsApi | getDeal | **GET** /deals/{id} | Get details of a deal
4851
DealsApi | getDealActivities | **GET** /deals/{id}/activities | List activities associated with a deal
4952
DealsApi | getDealChangelog | **GET** /deals/{id}/changelog | List updates about deal field values
@@ -57,7 +60,7 @@ DealsApi | getDealProducts | **GET** /deals/{id}/products | List products attach
5760
DealsApi | getDealUpdates | **GET** /deals/{id}/flow | List updates about a deal
5861
DealsApi | getDealUsers | **GET** /deals/{id}/permittedUsers | List permitted users
5962
DealsApi | getDeals | **GET** /deals | Get all deals
60-
DealsApi | getDealsCollection | **GET** /deals/collection | Get all deals (BETA)
63+
DealsApi | getDealsCollection | **GET** /deals/collection | Get all deals collection
6164
DealsApi | getDealsSummary | **GET** /deals/summary | Get deals summary
6265
DealsApi | getDealsTimeline | **GET** /deals/timeline | Get deals timeline
6366
DealsApi | mergeDeals | **PUT** /deals/{id}/merge | Merge two deals
@@ -93,6 +96,7 @@ LeadLabelsApi | updateLeadLabel | **PATCH** /leadLabels/{id} | Update a lead lab
9396
LeadSourcesApi | getLeadSources | **GET** /leadSources | Get all lead sources
9497
LeadsApi | addLead | **POST** /leads | Add a lead
9598
LeadsApi | deleteLead | **DELETE** /leads/{id} | Delete a lead
99+
LeadsApi | getArchivedLeads | **GET** /leads/archived | Get all archived leads
96100
LeadsApi | getLead | **GET** /leads/{id} | Get one lead
97101
LeadsApi | getLeadUsers | **GET** /leads/{id}/permittedUsers | List permitted users
98102
LeadsApi | getLeads | **GET** /leads | Get all leads
@@ -152,7 +156,7 @@ OrganizationsApi | getOrganizationPersons | **GET** /organizations/{id}/persons
152156
OrganizationsApi | getOrganizationUpdates | **GET** /organizations/{id}/flow | List updates about an organization
153157
OrganizationsApi | getOrganizationUsers | **GET** /organizations/{id}/permittedUsers | List permitted users
154158
OrganizationsApi | getOrganizations | **GET** /organizations | Get all organizations
155-
OrganizationsApi | getOrganizationsCollection | **GET** /organizations/collection | Get all organizations (BETA)
159+
OrganizationsApi | getOrganizationsCollection | **GET** /organizations/collection | Get all organizations collection
156160
OrganizationsApi | mergeOrganizations | **PUT** /organizations/{id}/merge | Merge two organizations
157161
OrganizationsApi | searchOrganization | **GET** /organizations/search | Search organizations
158162
OrganizationsApi | updateOrganization | **PUT** /organizations/{id} | Update an organization
@@ -183,7 +187,7 @@ PersonsApi | getPersonProducts | **GET** /persons/{id}/products | List products
183187
PersonsApi | getPersonUpdates | **GET** /persons/{id}/flow | List updates about a person
184188
PersonsApi | getPersonUsers | **GET** /persons/{id}/permittedUsers | List permitted users
185189
PersonsApi | getPersons | **GET** /persons | Get all persons
186-
PersonsApi | getPersonsCollection | **GET** /persons/collection | Get all persons (BETA)
190+
PersonsApi | getPersonsCollection | **GET** /persons/collection | Get all persons collection
187191
PersonsApi | mergePersons | **PUT** /persons/{id}/merge | Merge two persons
188192
PersonsApi | searchPersons | **GET** /persons/search | Search persons
189193
PersonsApi | updatePerson | **PUT** /persons/{id} | Update a person

docs/v2.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,27 @@ ActivitiesApi | deleteActivity | **DELETE** /activities/{id} | Delete an activit
99
ActivitiesApi | getActivities | **GET** /activities | Get all activities
1010
ActivitiesApi | getActivity | **GET** /activities/{id} | Get details of an activity
1111
ActivitiesApi | updateActivity | **PATCH** /activities/{id} | Update an activity
12+
BetaApi | convertDealToLead | **POST** /deals/{id}/convert/lead | Convert a deal to a lead (BETA)
13+
BetaApi | convertLeadToDeal | **POST** /leads/{id}/convert/deal | Convert a lead to a deal (BETA)
1214
BetaApi | deleteInstallment | **DELETE** /deals/{id}/installments/{installment_id} | Delete an installment from a deal
15+
BetaApi | getDealConversionStatus | **GET** /deals/{id}/convert/status/{conversion_id} | Get Deal conversion status (BETA)
1316
BetaApi | getInstallments | **GET** /deals/installments | List installments added to a list of deals
17+
BetaApi | getLeadConversionStatus | **GET** /leads/{id}/convert/status/{conversion_id} | Get Lead conversion status (BETA)
1418
BetaApi | postInstallment | **POST** /deals/{id}/installments | Add an installment to a deal
1519
BetaApi | updateInstallment | **PATCH** /deals/{id}/installments/{installment_id} | Update an installment added to a deal
1620
DealsApi | addDeal | **POST** /deals | Add a new deal
1721
DealsApi | addDealFollower | **POST** /deals/{id}/followers | Add a follower to a deal
1822
DealsApi | addDealProduct | **POST** /deals/{id}/products | Add a product to a deal
23+
DealsApi | convertDealToLead | **POST** /deals/{id}/convert/lead | Convert a deal to a lead (BETA)
1924
DealsApi | deleteAdditionalDiscount | **DELETE** /deals/{id}/discounts/{discount_id} | Delete a discount from a deal
2025
DealsApi | deleteDeal | **DELETE** /deals/{id} | Delete a deal
2126
DealsApi | deleteDealFollower | **DELETE** /deals/{id}/followers/{follower_id} | Delete a follower from a deal
2227
DealsApi | deleteDealProduct | **DELETE** /deals/{id}/products/{product_attachment_id} | Delete an attached product from a deal
2328
DealsApi | deleteInstallment | **DELETE** /deals/{id}/installments/{installment_id} | Delete an installment from a deal
2429
DealsApi | getAdditionalDiscounts | **GET** /deals/{id}/discounts | List discounts added to a deal
30+
DealsApi | getArchivedDeals | **GET** /deals/archived | Get all archived deals
2531
DealsApi | getDeal | **GET** /deals/{id} | Get details of a deal
32+
DealsApi | getDealConversionStatus | **GET** /deals/{id}/convert/status/{conversion_id} | Get Deal conversion status (BETA)
2633
DealsApi | getDealFollowers | **GET** /deals/{id}/followers | List followers of a deal
2734
DealsApi | getDealFollowersChangelog | **GET** /deals/{id}/followers/changelog | List followers changelog of a deal
2835
DealsApi | getDealProducts | **GET** /deals/{id}/products | List products attached to a deal
@@ -38,6 +45,8 @@ DealsApi | updateDealProduct | **PATCH** /deals/{id}/products/{product_attachmen
3845
DealsApi | updateInstallment | **PATCH** /deals/{id}/installments/{installment_id} | Update an installment added to a deal
3946
ItemSearchApi | searchItem | **GET** /itemSearch | Perform a search from multiple item types
4047
ItemSearchApi | searchItemByField | **GET** /itemSearch/field | Perform a search using a specific field from an item type
48+
LeadsApi | convertLeadToDeal | **POST** /leads/{id}/convert/deal | Convert a lead to a deal (BETA)
49+
LeadsApi | getLeadConversionStatus | **GET** /leads/{id}/convert/status/{conversion_id} | Get Lead conversion status (BETA)
4150
LeadsApi | searchLeads | **GET** /leads/search | Search leads
4251
OrganizationsApi | addOrganization | **POST** /organizations | Add a new organization
4352
OrganizationsApi | addOrganizationFollower | **POST** /organizations/{id}/followers | Add a follower to an organization

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pipedrive",
3-
"version": "25.0.0",
3+
"version": "26.0.0",
44
"description": "Pipedrive REST client for NodeJS",
55
"license": "MIT",
66
"homepage": "https://developers.pipedrive.com",

0 commit comments

Comments
 (0)