Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ 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]
### Added
- Documented new `track_open` and `track_click` fields on the Person object (enum: `no_preference_set`, `consent_given`, `consent_declined`). They are returned and accepted only if the company has the "Email tracking consent" setting enabled.
### Changed
- Updated v2 Persons endpoints to include the new fields: `GET /api/v2/persons`, `GET /api/v2/persons/{id}`, `POST /api/v2/persons` and `PATCH /api/v2/persons/{id}`. The `include_fields` query parameter now also accepts `track_open` and `track_click`.
- Added `email_tracking_preference_change` to the possible values of the `items` query parameter of `GET /v1/persons/{id}/flow` and `GET /v1/deals/{id}/flow`, and updated the description of `GET /v1/personFields` (`getPersonFields`) to mention the new fields.

## [36.3.1] - 2026-11-06
### Fixed
Expand Down
16 changes: 8 additions & 8 deletions src/versions/v1/api/deals-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -744,7 +744,7 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
};
},
/**
* Lists the participants associated with a deal.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also return the `data.marketing_status` field.
* Lists the participants associated with a deal.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also return the `marketing_status` field.
* @summary List participants of a deal
* @param {number} id The ID of the deal
* @param {number} [start] Pagination start
Expand Down Expand Up @@ -852,7 +852,7 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
* @param {number} [start] Pagination start
* @param {number} [limit] Items shown per page
* @param {string} [all_changes] Whether to show custom field updates or not. 1 &#x3D; Include custom field changes. If omitted returns changes without custom field updates.
* @param {Set<string>} [items] A comma-separated string for filtering out item specific updates. (Possible values - call, activity, plannedActivity, change, note, deal, file, dealChange, personChange, organizationChange, follower, dealFollower, personFollower, organizationFollower, participant, comment, mailMessage, mailMessageWithAttachment, invoice, document, marketing_campaign_stat, marketing_status_change).
* @param {Set<string>} [items] A comma-separated string for filtering out item specific updates. (Possible values - call, activity, plannedActivity, change, note, deal, file, dealChange, personChange, organizationChange, follower, dealFollower, personFollower, organizationFollower, participant, comment, mailMessage, mailMessageWithAttachment, invoice, document, marketing_campaign_stat, marketing_status_change, email_tracking_preference_change).

* @throws {RequiredError}
*/
Expand Down Expand Up @@ -1492,7 +1492,7 @@ export const DealsApiFp = function(configuration?: Configuration) {
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
},
/**
* Lists the participants associated with a deal.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also return the `data.marketing_status` field.
* Lists the participants associated with a deal.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also return the `marketing_status` field.
* @summary List participants of a deal
* @param {number} id The ID of the deal
* @param {number} [start] Pagination start
Expand Down Expand Up @@ -1550,7 +1550,7 @@ export const DealsApiFp = function(configuration?: Configuration) {
* @param {number} [start] Pagination start
* @param {number} [limit] Items shown per page
* @param {string} [all_changes] Whether to show custom field updates or not. 1 &#x3D; Include custom field changes. If omitted returns changes without custom field updates.
* @param {Set<string>} [items] A comma-separated string for filtering out item specific updates. (Possible values - call, activity, plannedActivity, change, note, deal, file, dealChange, personChange, organizationChange, follower, dealFollower, personFollower, organizationFollower, participant, comment, mailMessage, mailMessageWithAttachment, invoice, document, marketing_campaign_stat, marketing_status_change).
* @param {Set<string>} [items] A comma-separated string for filtering out item specific updates. (Possible values - call, activity, plannedActivity, change, note, deal, file, dealChange, personChange, organizationChange, follower, dealFollower, personFollower, organizationFollower, participant, comment, mailMessage, mailMessageWithAttachment, invoice, document, marketing_campaign_stat, marketing_status_change, email_tracking_preference_change).

* @throws {RequiredError}
*/
Expand All @@ -1565,7 +1565,7 @@ export const DealsApiFp = function(configuration?: Configuration) {
* @param {number} [start] Pagination start
* @param {number} [limit] Items shown per page
* @param {string} [all_changes] Whether to show custom field updates or not. 1 &#x3D; Include custom field changes. If omitted returns changes without custom field updates.
* @param {Set<string>} [items] A comma-separated string for filtering out item specific updates. (Possible values - call, activity, plannedActivity, change, note, deal, file, dealChange, personChange, organizationChange, follower, dealFollower, personFollower, organizationFollower, participant, comment, mailMessage, mailMessageWithAttachment, invoice, document, marketing_campaign_stat, marketing_status_change).
* @param {Set<string>} [items] A comma-separated string for filtering out item specific updates. (Possible values - call, activity, plannedActivity, change, note, deal, file, dealChange, personChange, organizationChange, follower, dealFollower, personFollower, organizationFollower, participant, comment, mailMessage, mailMessageWithAttachment, invoice, document, marketing_campaign_stat, marketing_status_change, email_tracking_preference_change).

* @throws {RequiredError}
*/
Expand Down Expand Up @@ -1854,7 +1854,7 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
return localVarFp.getDealMailMessagesWithHttpInfo(requestParameters.id, requestParameters.start, requestParameters.limit, requestParameters.include_body, ).then((request) => request(axios, basePath));
},
/**
* Lists the participants associated with a deal.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also return the `data.marketing_status` field.
* Lists the participants associated with a deal.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also return the `marketing_status` field.
* @summary List participants of a deal
* @param {DealsApiGetDealParticipantsRequest} requestParameters Request parameters.

Expand Down Expand Up @@ -2451,7 +2451,7 @@ export interface DealsApiGetDealUpdatesRequest {
readonly all_changes?: string

/**
* A comma-separated string for filtering out item specific updates. (Possible values - call, activity, plannedActivity, change, note, deal, file, dealChange, personChange, organizationChange, follower, dealFollower, personFollower, organizationFollower, participant, comment, mailMessage, mailMessageWithAttachment, invoice, document, marketing_campaign_stat, marketing_status_change).
* A comma-separated string for filtering out item specific updates. (Possible values - call, activity, plannedActivity, change, note, deal, file, dealChange, personChange, organizationChange, follower, dealFollower, personFollower, organizationFollower, participant, comment, mailMessage, mailMessageWithAttachment, invoice, document, marketing_campaign_stat, marketing_status_change, email_tracking_preference_change).
* @type {Set<string>}
* @memberof DealsApiGetDealUpdates
*/
Expand Down Expand Up @@ -2901,7 +2901,7 @@ export class DealsApi extends BaseAPI {
}

/**
* Lists the participants associated with a deal.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also return the `data.marketing_status` field.
* Lists the participants associated with a deal.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also return the `marketing_status` field.
* @summary List participants of a deal
* @param {DealsApiGetDealParticipantsRequest} requestParameters Request parameters.

Expand Down
8 changes: 4 additions & 4 deletions src/versions/v1/api/person-fields-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ export const PersonFieldsApiAxiosParamCreator = function (configuration?: Config
};
},
/**
* Returns data about all person fields.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also return the `data.marketing_status` field.
* Returns data about all person fields.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also return the `marketing_status` field.<br>If the company has the Email tracking consent setting enabled, then this endpoint will also return the `track_open` and `track_click` fields.
* @summary Get all person fields
* @param {number} [start] Pagination start
* @param {number} [limit] Items shown per page
Expand Down Expand Up @@ -398,7 +398,7 @@ export const PersonFieldsApiFp = function(configuration?: Configuration) {
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
},
/**
* Returns data about all person fields.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also return the `data.marketing_status` field.
* Returns data about all person fields.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also return the `marketing_status` field.<br>If the company has the Email tracking consent setting enabled, then this endpoint will also return the `track_open` and `track_click` fields.
* @summary Get all person fields
* @param {number} [start] Pagination start
* @param {number} [limit] Items shown per page
Expand Down Expand Up @@ -508,7 +508,7 @@ export const PersonFieldsApiFactory = function (configuration?: Configuration, b
return localVarFp.getPersonFieldWithHttpInfo(requestParameters.id, ).then((request) => request(axios, basePath));
},
/**
* Returns data about all person fields.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also return the `data.marketing_status` field.
* Returns data about all person fields.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also return the `marketing_status` field.<br>If the company has the Email tracking consent setting enabled, then this endpoint will also return the `track_open` and `track_click` fields.
* @summary Get all person fields
* @param {PersonFieldsApiGetPersonFieldsRequest} requestParameters Request parameters.
Expand Down Expand Up @@ -738,7 +738,7 @@ export class PersonFieldsApi extends BaseAPI {
}

/**
* Returns data about all person fields.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also return the `data.marketing_status` field.
* Returns data about all person fields.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also return the `marketing_status` field.<br>If the company has the Email tracking consent setting enabled, then this endpoint will also return the `track_open` and `track_click` fields.
* @summary Get all person fields
* @param {PersonFieldsApiGetPersonFieldsRequest} requestParameters Request parameters.
Expand Down
Loading
Loading