Skip to content

Commit fb0a459

Browse files
Merge pull request #271 from pipedrive/306
Build 306 - version-major
2 parents 28b29c2 + 5214072 commit fb0a459

18 files changed

Lines changed: 373 additions & 2222 deletions

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,17 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
66

77
## [Unreleased]
8+
### Removed
9+
- Removed deprecated bulk delete endpoints:
10+
- `DELETE /v1/activities`
11+
- `DELETE /v1/activityTypes`
12+
- `DELETE /v1/deals`
13+
- `DELETE /v1/organizations`
14+
- `DELETE /v1/persons`
15+
- `DELETE /v1/stages`
16+
Please use the single delete endpoints instead, for example `DELETE /api/v2/activities/{id}`.
17+
18+
## [15.0.0](https://github.com/pipedrive/client-php/compare/14.9.0...15.0.0) (2026-01-27)
819

920
## [14.9.0](https://github.com/pipedrive/client-php/compare/14.8.0...14.9.0) (2026-01-27)
1021

docs/versions/v1/Api/ActivitiesApi.md

Lines changed: 0 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ All URIs are relative to https://api.pipedrive.com/v1.
55
Method | HTTP request | Description
66
------------- | ------------- | -------------
77
[**addActivity()**](ActivitiesApi.md#addActivity) | **POST** /activities | Add an activity
8-
[**deleteActivities()**](ActivitiesApi.md#deleteActivities) | **DELETE** /activities | Delete multiple activities in bulk
98
[**deleteActivity()**](ActivitiesApi.md#deleteActivity) | **DELETE** /activities/{id} | Delete an activity
109
[**getActivities()**](ActivitiesApi.md#getActivities) | **GET** /activities | Get all activities assigned to a particular user
1110
[**getActivitiesCollection()**](ActivitiesApi.md#getActivitiesCollection) | **GET** /activities/collection | Get all activities collection
@@ -78,71 +77,6 @@ Name | Type | Description | Notes
7877
[[Back to Model list]](../README.md#documentation-for-models)
7978
[[Back to README]](../README.md)
8079

81-
## `deleteActivities()`
82-
83-
```php
84-
deleteActivities($ids): \Pipedrive\versions\v1\Model\DeleteActivitiesResponse
85-
```
86-
87-
Delete multiple activities in bulk
88-
89-
Marks multiple activities as deleted. After 30 days, the activities will be permanently deleted. <br>This endpoint has been deprecated. Please use <a href=\"https://developers.pipedrive.com/docs/api/v1/Activities#deleteActivity\" target=\"_blank\" rel=\"noopener noreferrer\">DELETE /api/v2/activities/{id}</a> instead.
90-
91-
### Example
92-
93-
```php
94-
<?php
95-
require_once(__DIR__ . '/vendor/autoload.php');
96-
97-
98-
// Configure API key authorization: api_key
99-
$config = (new Pipedrive\versions\v1\Configuration())->setApiKey('x-api-token', 'YOUR_API_KEY');
100-
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
101-
// $config = (new Pipedrive\versions\v1\Configuration())->setApiKeyPrefix('x-api-token', 'Bearer');
102-
103-
// Configure OAuth2 access token for authorization: oauth2
104-
$config = (new Pipedrive\versions\v1\Configuration())->setAccessToken('YOUR_ACCESS_TOKEN');
105-
106-
107-
$apiInstance = new Pipedrive\versions\v1\Api\ActivitiesApi(
108-
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
109-
// This is optional, `GuzzleHttp\Client` will be used as default.
110-
new GuzzleHttp\Client(),
111-
$config
112-
);
113-
$ids = 'ids_example'; // string | The comma-separated IDs of activities that will be deleted
114-
115-
try {
116-
$result = $apiInstance->deleteActivities($ids);
117-
print_r($result);
118-
} catch (Exception $e) {
119-
echo 'Exception when calling ActivitiesApi->deleteActivities: ', $e->getMessage(), PHP_EOL;
120-
}
121-
```
122-
123-
### Parameters
124-
125-
Name | Type | Description | Notes
126-
------------- | ------------- | ------------- | -------------
127-
**ids** | **string**| The comma-separated IDs of activities that will be deleted |
128-
129-
### Return type
130-
131-
[**\Pipedrive\versions\v1\Model\DeleteActivitiesResponse**](../Model/DeleteActivitiesResponse.md)
132-
133-
### Authorization
134-
135-
[api_key](../README.md#api_key), [oauth2](../README.md#oauth2)
136-
137-
### HTTP request headers
138-
139-
- **Content-Type**: Not defined
140-
- **Accept**: `application/json`
141-
142-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
143-
[[Back to Model list]](../README.md#documentation-for-models)
144-
[[Back to README]](../README.md)
145-
14680
## `deleteActivity()`
14781

14882
```php

docs/versions/v1/Api/ActivityTypesApi.md

Lines changed: 0 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ Method | HTTP request | Description
66
------------- | ------------- | -------------
77
[**addActivityType()**](ActivityTypesApi.md#addActivityType) | **POST** /activityTypes | Add new activity type
88
[**deleteActivityType()**](ActivityTypesApi.md#deleteActivityType) | **DELETE** /activityTypes/{id} | Delete an activity type
9-
[**deleteActivityTypes()**](ActivityTypesApi.md#deleteActivityTypes) | **DELETE** /activityTypes | Delete multiple activity types in bulk
109
[**getActivityTypes()**](ActivityTypesApi.md#getActivityTypes) | **GET** /activityTypes | Get all activity types
1110
[**updateActivityType()**](ActivityTypesApi.md#updateActivityType) | **PUT** /activityTypes/{id} | Update an activity type
1211

@@ -141,71 +140,6 @@ Name | Type | Description | Notes
141140
[[Back to Model list]](../README.md#documentation-for-models)
142141
[[Back to README]](../README.md)
143142

144-
## `deleteActivityTypes()`
145-
146-
```php
147-
deleteActivityTypes($ids): \Pipedrive\versions\v1\Model\ActivityTypeBulkDeleteResponse
148-
```
149-
150-
Delete multiple activity types in bulk
151-
152-
Marks multiple activity types as deleted.
153-
154-
### Example
155-
156-
```php
157-
<?php
158-
require_once(__DIR__ . '/vendor/autoload.php');
159-
160-
161-
// Configure API key authorization: api_key
162-
$config = (new Pipedrive\versions\v1\Configuration())->setApiKey('x-api-token', 'YOUR_API_KEY');
163-
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
164-
// $config = (new Pipedrive\versions\v1\Configuration())->setApiKeyPrefix('x-api-token', 'Bearer');
165-
166-
// Configure OAuth2 access token for authorization: oauth2
167-
$config = (new Pipedrive\versions\v1\Configuration())->setAccessToken('YOUR_ACCESS_TOKEN');
168-
169-
170-
$apiInstance = new Pipedrive\versions\v1\Api\ActivityTypesApi(
171-
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
172-
// This is optional, `GuzzleHttp\Client` will be used as default.
173-
new GuzzleHttp\Client(),
174-
$config
175-
);
176-
$ids = 'ids_example'; // string | The comma-separated activity type IDs
177-
178-
try {
179-
$result = $apiInstance->deleteActivityTypes($ids);
180-
print_r($result);
181-
} catch (Exception $e) {
182-
echo 'Exception when calling ActivityTypesApi->deleteActivityTypes: ', $e->getMessage(), PHP_EOL;
183-
}
184-
```
185-
186-
### Parameters
187-
188-
Name | Type | Description | Notes
189-
------------- | ------------- | ------------- | -------------
190-
**ids** | **string**| The comma-separated activity type IDs |
191-
192-
### Return type
193-
194-
[**\Pipedrive\versions\v1\Model\ActivityTypeBulkDeleteResponse**](../Model/ActivityTypeBulkDeleteResponse.md)
195-
196-
### Authorization
197-
198-
[api_key](../README.md#api_key), [oauth2](../README.md#oauth2)
199-
200-
### HTTP request headers
201-
202-
- **Content-Type**: Not defined
203-
- **Accept**: `application/json`
204-
205-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
206-
[[Back to Model list]](../README.md#documentation-for-models)
207-
[[Back to README]](../README.md)
208-
209143
## `getActivityTypes()`
210144

211145
```php

docs/versions/v1/Api/DealsApi.md

Lines changed: 0 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ Method | HTTP request | Description
1212
[**deleteDealFollower()**](DealsApi.md#deleteDealFollower) | **DELETE** /deals/{id}/followers/{follower_id} | Delete a follower from a deal
1313
[**deleteDealParticipant()**](DealsApi.md#deleteDealParticipant) | **DELETE** /deals/{id}/participants/{deal_participant_id} | Delete a participant from a deal
1414
[**deleteDealProduct()**](DealsApi.md#deleteDealProduct) | **DELETE** /deals/{id}/products/{product_attachment_id} | Delete an attached product from a deal
15-
[**deleteDeals()**](DealsApi.md#deleteDeals) | **DELETE** /deals | Delete multiple deals in bulk
1615
[**duplicateDeal()**](DealsApi.md#duplicateDeal) | **POST** /deals/{id}/duplicate | Duplicate deal
1716
[**getArchivedDeals()**](DealsApi.md#getArchivedDeals) | **GET** /deals/archived | Get all archived deals
1817
[**getArchivedDealsSummary()**](DealsApi.md#getArchivedDealsSummary) | **GET** /deals/summary/archived | Get archived deals summary
@@ -571,71 +570,6 @@ Name | Type | Description | Notes
571570
[[Back to Model list]](../README.md#documentation-for-models)
572571
[[Back to README]](../README.md)
573572

574-
## `deleteDeals()`
575-
576-
```php
577-
deleteDeals($ids): \Pipedrive\versions\v1\Model\DeleteMultipleDeals
578-
```
579-
580-
Delete multiple deals in bulk
581-
582-
Marks multiple deals as deleted. After 30 days, the deals will be permanently deleted. <br>This endpoint has been deprecated. Please use <a href=\"https://developers.pipedrive.com/docs/api/v1/Deals#deleteDeal\" target=\"_blank\" rel=\"noopener noreferrer\">DELETE /api/v2/deals/{id}</a> instead.
583-
584-
### Example
585-
586-
```php
587-
<?php
588-
require_once(__DIR__ . '/vendor/autoload.php');
589-
590-
591-
// Configure API key authorization: api_key
592-
$config = (new Pipedrive\versions\v1\Configuration())->setApiKey('x-api-token', 'YOUR_API_KEY');
593-
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
594-
// $config = (new Pipedrive\versions\v1\Configuration())->setApiKeyPrefix('x-api-token', 'Bearer');
595-
596-
// Configure OAuth2 access token for authorization: oauth2
597-
$config = (new Pipedrive\versions\v1\Configuration())->setAccessToken('YOUR_ACCESS_TOKEN');
598-
599-
600-
$apiInstance = new Pipedrive\versions\v1\Api\DealsApi(
601-
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
602-
// This is optional, `GuzzleHttp\Client` will be used as default.
603-
new GuzzleHttp\Client(),
604-
$config
605-
);
606-
$ids = 'ids_example'; // string | The comma-separated IDs that will be deleted
607-
608-
try {
609-
$result = $apiInstance->deleteDeals($ids);
610-
print_r($result);
611-
} catch (Exception $e) {
612-
echo 'Exception when calling DealsApi->deleteDeals: ', $e->getMessage(), PHP_EOL;
613-
}
614-
```
615-
616-
### Parameters
617-
618-
Name | Type | Description | Notes
619-
------------- | ------------- | ------------- | -------------
620-
**ids** | **string**| The comma-separated IDs that will be deleted |
621-
622-
### Return type
623-
624-
[**\Pipedrive\versions\v1\Model\DeleteMultipleDeals**](../Model/DeleteMultipleDeals.md)
625-
626-
### Authorization
627-
628-
[api_key](../README.md#api_key), [oauth2](../README.md#oauth2)
629-
630-
### HTTP request headers
631-
632-
- **Content-Type**: Not defined
633-
- **Accept**: `application/json`
634-
635-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
636-
[[Back to Model list]](../README.md#documentation-for-models)
637-
[[Back to README]](../README.md)
638-
639573
## `duplicateDeal()`
640574

641575
```php

docs/versions/v1/Api/OrganizationsApi.md

Lines changed: 0 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ Method | HTTP request | Description
88
[**addOrganizationFollower()**](OrganizationsApi.md#addOrganizationFollower) | **POST** /organizations/{id}/followers | Add a follower to an organization
99
[**deleteOrganization()**](OrganizationsApi.md#deleteOrganization) | **DELETE** /organizations/{id} | Delete an organization
1010
[**deleteOrganizationFollower()**](OrganizationsApi.md#deleteOrganizationFollower) | **DELETE** /organizations/{id}/followers/{follower_id} | Delete a follower from an organization
11-
[**deleteOrganizations()**](OrganizationsApi.md#deleteOrganizations) | **DELETE** /organizations | Delete multiple organizations in bulk
1211
[**getOrganization()**](OrganizationsApi.md#getOrganization) | **GET** /organizations/{id} | Get details of an organization
1312
[**getOrganizationActivities()**](OrganizationsApi.md#getOrganizationActivities) | **GET** /organizations/{id}/activities | List activities associated with an organization
1413
[**getOrganizationChangelog()**](OrganizationsApi.md#getOrganizationChangelog) | **GET** /organizations/{id}/changelog | List updates about organization field values
@@ -290,71 +289,6 @@ Name | Type | Description | Notes
290289
[[Back to Model list]](../README.md#documentation-for-models)
291290
[[Back to README]](../README.md)
292291

293-
## `deleteOrganizations()`
294-
295-
```php
296-
deleteOrganizations($ids): \Pipedrive\versions\v1\Model\OrganizationsDeleteResponse
297-
```
298-
299-
Delete multiple organizations in bulk
300-
301-
Marks multiple organizations as deleted. After 30 days, the organizations will be permanently deleted. <br>This endpoint has been deprecated. Please use <a href=\"https://developers.pipedrive.com/docs/api/v1/Organizations#deleteOrganization\" target=\"_blank\" rel=\"noopener noreferrer\">DELETE /api/v2/organizations/{id}</a> instead.
302-
303-
### Example
304-
305-
```php
306-
<?php
307-
require_once(__DIR__ . '/vendor/autoload.php');
308-
309-
310-
// Configure API key authorization: api_key
311-
$config = (new Pipedrive\versions\v1\Configuration())->setApiKey('x-api-token', 'YOUR_API_KEY');
312-
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
313-
// $config = (new Pipedrive\versions\v1\Configuration())->setApiKeyPrefix('x-api-token', 'Bearer');
314-
315-
// Configure OAuth2 access token for authorization: oauth2
316-
$config = (new Pipedrive\versions\v1\Configuration())->setAccessToken('YOUR_ACCESS_TOKEN');
317-
318-
319-
$apiInstance = new Pipedrive\versions\v1\Api\OrganizationsApi(
320-
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
321-
// This is optional, `GuzzleHttp\Client` will be used as default.
322-
new GuzzleHttp\Client(),
323-
$config
324-
);
325-
$ids = 'ids_example'; // string | The comma-separated IDs that will be deleted
326-
327-
try {
328-
$result = $apiInstance->deleteOrganizations($ids);
329-
print_r($result);
330-
} catch (Exception $e) {
331-
echo 'Exception when calling OrganizationsApi->deleteOrganizations: ', $e->getMessage(), PHP_EOL;
332-
}
333-
```
334-
335-
### Parameters
336-
337-
Name | Type | Description | Notes
338-
------------- | ------------- | ------------- | -------------
339-
**ids** | **string**| The comma-separated IDs that will be deleted |
340-
341-
### Return type
342-
343-
[**\Pipedrive\versions\v1\Model\OrganizationsDeleteResponse**](../Model/OrganizationsDeleteResponse.md)
344-
345-
### Authorization
346-
347-
[api_key](../README.md#api_key), [oauth2](../README.md#oauth2)
348-
349-
### HTTP request headers
350-
351-
- **Content-Type**: Not defined
352-
- **Accept**: `application/json`
353-
354-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
355-
[[Back to Model list]](../README.md#documentation-for-models)
356-
[[Back to README]](../README.md)
357-
358292
## `getOrganization()`
359293

360294
```php

0 commit comments

Comments
 (0)