You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[**deleteAdditionalDiscount()**](BetaApi.md#deleteAdditionalDiscount) | **DELETE** /deals/{id}/discounts/{discount_id} | Delete a discount from a deal
14
14
[**deleteDeal()**](BetaApi.md#deleteDeal) | **DELETE** /deals/{id} | Delete a deal
15
15
[**deleteDealProduct()**](BetaApi.md#deleteDealProduct) | **DELETE** /deals/{id}/products/{product_attachment_id} | Delete an attached product from a deal
16
+
[**deleteInstallment()**](BetaApi.md#deleteInstallment) | **DELETE** /deals/{id}/installments/{installment_id} | Delete an installment from a deal
16
17
[**deleteOrganization()**](BetaApi.md#deleteOrganization) | **DELETE** /organizations/{id} | Delete a organization
17
18
[**deletePerson()**](BetaApi.md#deletePerson) | **DELETE** /persons/{id} | Delete a person
18
19
[**getActivities()**](BetaApi.md#getActivities) | **GET** /activities | Get all activities
[**updateAdditionalDiscount()**](BetaApi.md#updateAdditionalDiscount) | **PATCH** /deals/{id}/discounts/{discount_id} | Update a discount added to a deal
38
41
[**updateDeal()**](BetaApi.md#updateDeal) | **PATCH** /deals/{id} | Update a deal
39
42
[**updateDealProduct()**](BetaApi.md#updateDealProduct) | **PATCH** /deals/{id}/products/{product_attachment_id} | Update the product attached to a deal
43
+
[**updateInstallment()**](BetaApi.md#updateInstallment) | **PATCH** /deals/{id}/installments/{installment_id} | Update an installment added to a deal
40
44
[**updateOrganization()**](BetaApi.md#updateOrganization) | **PATCH** /organizations/{id} | Update a organization
41
45
[**updatePerson()**](BetaApi.md#updatePerson) | **PATCH** /persons/{id} | Update a person
42
46
@@ -632,6 +636,73 @@ Name | Type | Description | Notes
632
636
[[Back to Model list]](../README.md#documentation-for-models)
Lists installments attached to a list of deals. Only available in Advanced and above plans.
1378
+
1379
+
### Example
1380
+
1381
+
```php
1382
+
1383
+
require_once(__DIR__ . '/vendor/autoload.php');
1384
+
1385
+
1386
+
// Configure API key authorization: api_key
1387
+
$config = (new Pipedrive\versions\v2\Configuration())->setApiKey('api_token', 'YOUR_API_KEY');
1388
+
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
1389
+
// $config = (new Pipedrive\versions\v2\Configuration())->setApiKeyPrefix('api_token', 'Bearer');
1390
+
1391
+
// Configure OAuth2 access token for authorization: oauth2
1392
+
$config = (new Pipedrive\versions\v2\Configuration())->setAccessToken('YOUR_ACCESS_TOKEN');
1393
+
1394
+
1395
+
$apiInstance = new Pipedrive\versions\v2\Api\BetaApi(
1396
+
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
1397
+
// This is optional, `GuzzleHttp\Client` will be used as default.
1398
+
new GuzzleHttp\Client(),
1399
+
$config
1400
+
);
1401
+
$deal_ids = array(56); // int[] | An array of integers with the IDs of the deals for which the attached installments will be returned. A maximum of 100 deal IDs can be provided.
1402
+
$cursor = 'cursor_example'; // string | For pagination, the marker (an opaque string value) representing the first item on the next page
1403
+
$limit = 100; // int | For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed.
1404
+
$sort_by = 'id'; // string | The field to sort by. Supported fields: `id`, `billing_date`, `deal_id`.
**deal_ids** | [**int[]**](../Model/int.md)| An array of integers with the IDs of the deals for which the attached installments will be returned. A maximum of 100 deal IDs can be provided. |
1420
+
**cursor** | **string**| For pagination, the marker (an opaque string value) representing the first item on the next page | [optional]
1421
+
**limit** | **int**| For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed. | [optional]
1422
+
**sort_by** | **string**| The field to sort by. Supported fields: 60;id60;, 60;billing_date60;, 60;deal_id60;. | [optional][default to 39;id39;]
1423
+
**sort_direction** | **string**| The sorting direction. Supported values: 60;asc60;, 60;desc60;. | [optional][default to 39;asc39;]
Adds an installment to a deal. An installment can only be added if the deal includes at least one one-time product. If the deal contains at least one recurring product, adding installments is not allowed. Only available in Advanced and above plans.
1828
+
1829
+
### Example
1830
+
1831
+
```php
1832
+
1833
+
require_once(__DIR__ . '/vendor/autoload.php');
1834
+
1835
+
1836
+
// Configure API key authorization: api_key
1837
+
$config = (new Pipedrive\versions\v2\Configuration())->setApiKey('api_token', 'YOUR_API_KEY');
1838
+
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
1839
+
// $config = (new Pipedrive\versions\v2\Configuration())->setApiKeyPrefix('api_token', 'Bearer');
1840
+
1841
+
// Configure OAuth2 access token for authorization: oauth2
1842
+
$config = (new Pipedrive\versions\v2\Configuration())->setAccessToken('YOUR_ACCESS_TOKEN');
1843
+
1844
+
1845
+
$apiInstance = new Pipedrive\versions\v2\Api\BetaApi(
1846
+
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
1847
+
// This is optional, `GuzzleHttp\Client` will be used as default.
0 commit comments