diff --git a/CHANGELOG.md b/CHANGELOG.md index bd210842..1466b404 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ The file format of it is based on [Keep a Changelog](http://keepachangelog.com/e For public Changelog covering all changes done to Pipedrive’s API, webhooks and app extensions platforms, see [public Changelog](https://pipedrive.readme.io/docs/changelog) with discussion area in [Developers Community](https://devcommunity.pipedrive.com/c/documentation/changelog/19). ## [Unreleased] +### Fixed +- Corrected the `is_deleted` field in the request body of `PATCH /api/v2/deals/{id}`: it is only used to restore a deleted deal and accepts only `false` +- Removed the `is_deleted` field from the request body of `POST /api/v2/deals`, as it is not applicable when creating a deal +- Documented the maximum length of 100 characters for the `term` query parameter in the search endpoints: `/api/v2/deals/search`, `/api/v2/persons/search`, `/api/v2/organizations/search`, `/api/v2/products/search`, `/api/v2/leads/search`, `/api/v2/projects/search`, `/api/v2/itemSearch`, `/api/v2/itemSearch/field` ## [36.3.0] - 2026-11-06 ### Added diff --git a/src/versions/v2/models/add-deal-request.ts b/src/versions/v2/models/add-deal-request.ts index 8c160496..c647e2cc 100644 --- a/src/versions/v2/models/add-deal-request.ts +++ b/src/versions/v2/models/add-deal-request.ts @@ -61,11 +61,6 @@ export interface AddDealRequest { */ 'currency'?: string; /** - * Whether the deal is deleted or not - * @type {boolean} - */ - 'is_deleted'?: boolean; - /** * Whether the deal is archived or not * @type {boolean} */ diff --git a/src/versions/v2/models/update-deal-request.ts b/src/versions/v2/models/update-deal-request.ts index a50f4474..afed14e2 100644 --- a/src/versions/v2/models/update-deal-request.ts +++ b/src/versions/v2/models/update-deal-request.ts @@ -61,7 +61,7 @@ export interface UpdateDealRequest { */ 'currency'?: string; /** - * Whether the deal is deleted or not + * Only used to restore a previously deleted deal. The only accepted value is `false`; omit the field otherwise. * @type {boolean} */ 'is_deleted'?: boolean;