All notable changes to this project will be documented in this file.
The Changelog file gives an overview of all of the notable changes affecting the project. The file format of it is based on Keep a Changelog, and the project adheres to Semantic Versioning.
For public Changelog covering all changes done to Pipedrive’s API, webhooks and app extensions platforms, see public Changelog with discussion area in Developers Community.
23.4.3 - 2024-11-22
- Add "additionalProperties" to entities with custom fields
- Updated the code examples in the README for the JavaScript SDK
- Add "custom_fields" query paremeter to GET /api/v2/products
23.4.2 - 2024-10-31
- Updated the code examples in the README for the JavaScript SDK
- Add "custom_fields" query paremeter to GET /api/v2/products
23.4.1 - 2024-10-09
- Migrate publish flow from Jenkins to GitHub Actions
- Add devops-tooling as owner for .github/workflows/cicd_*
23.4.0 - 2024-09-24
- Added the field "notes" to product prices in the body and response for v1 and v2
- Added the field "overhead_cost" to the product variation prices in the response for v1
- Added the field "direct_cost" to the product variation prices in the response and body for v2
23.3.0 - 2024-09-23
- Add documentation for installments functionality:
POST
/v1/deals/{id}/products
endpointPUT
/v1/deals/{id}/products/{product_attachment_id}
endpointDELETE
/v1/deals/{id}/products/{product_attachment_id}
endpointPOST
/v2/deals/{id}/products
endpointPATCH
/v2/deals/{id}/products/{product_attachment_id}
endpointDELETE
/v2/deals/{id}/products/{product_attachment_id}
endpoint
- Deleted unused file with long name
23.2.5 - 2024-08-27
- Updated default values for "billing_frequency_cycles", "billing_start_date" fields
23.2.4 - 2024-08-13
- Added "filter_id" to GET /api/v2/deals documentation
23.2.3 - 2024-08-12
- Fix "label_ids" field formatting.
23.2.2 - 2024-08-07
- Added the missing "label_ids" field to the contacts endpoints.
23.2.1 - 2024-08-01
- Added missing "description" parameter to "Add a product" and "Update a product" endpoints
23.2.0 - 2024-07-25
- Notice informing the users of the upcoming Activity Invites feature deprecation:
POST
andPUT
/v1/activities
endpoints
23.1.0 - 2024-07-03
- Added
notes
field to Prices in:GET
andPOST
/v2/products/{productId}/variations
endpointsPATCH
/api/v2/products/{productId}/variations/{productVariationId}
endpoint
23.0.0 - 2024-06-14
- Removed request and response fields
duration
andduration_unit
for all endpoints of deals and products using them
22.10.1 - 2024-06-07
- Cleanup unused company settings
22.10.0 - 2024-06-07
Added acv
, mrr
, arr
, acv_currency
, mrr_currency
, and arr_currency
to the BaseDeal entity and the following endpoints' response:
GET
,POST
/v1/deals
GET
,PUT
/v1/deals/{id}
GET
/v1/deals/timeline
PUT
/v1/deals/{id}/merge
POST
/v1/deals/{id}/duplicate
22.9.0 - 2024-05-30
- Documentation for response models: changed property names to snake_case instead of camelCase
22.8.2 - 2024-05-29
- Fixed documentation: property
value
of Lead is nullable.
22.8.1 - 2024-05-29
- Removed mention of address autocompletion by Google in Add Activites endpoint and other entities(organization, person, deal) fields.
22.8.0 - 2024-05-21
- Added
origin
,origin_id
,channel
andchannel_id
parameters representing the Source for Lead and Deal entity.
22.7.0 - 2024-05-14
- Added
billing_frequency
,billing_frequency_cycles
andbilling_start_date
fields toGET
,POST
andPUT
/v1/deals/{id}/products
endpointsGET
,POST
andPATCH
/v2/deals/{id}/products
endpointsGET
/v2/deals/products
endpoint
- Added
billing_frequency
,billing_frequency_cycles
fields toGET
,POST
andPUT
/v1/products
endpointsGET
/v1/products/{id}
endpointGET
,POST
andPATCH
/v2/products
endpointsGET
/v2/products/{id}
endpoints
22.6.1 - 2024-04-18
- Added
is_deleted
parameter for/v1/users/*
responses.
22.6.0 - 2024-04-05
- Added documentation for new endpoints
/deals/{id}/changelog
,/persons/{id}/changelog
and/organizations/{id}/changelog
.
22.5.0 - 2024-02-02
- Added documentation for new endpoint
/deals/{id}/participantsChangelog
.
22.4.0 - 2024-01-05
- Added documentation for
/meetings/userProviderLinks
endpoints
22.3.0 - 2023-10-17
- Add
Projects
,ProjectTemplates
andTasks
public routes.
22.2.0 - 2023-10-11
- Changed node version in .nvmrc and fixed vulnerable dependencies
22.1.0 - 2023-10-11
- Incorrect type of
options
for thePOST and PUT /dealFields, /personFields and /organizationFields
endpoints
- Documented
label
parameter for the deal, person, org entities.
22.0.2 - 2023-09-12
- Fixed incorrect response schema for the
GET /deals/{id}/products
endpoint
22.0.1 - 2023-09-12
- Added further details on behavior of
end_date
forPUT /v1/subscriptions/recurring/{id}/cancel
22.0.0 - 2023-08-30
- Removed request and response fields
sum_no_discount
forGET /deals/{id}/products
,POST /deals/{id}/products
andPUT /deals/{id}/products/{product_attachment_id}
21.2.0 - 2023-08-22
- Fixed incorrect parameter descriptions for the
PUT /deals/{id}
endpoint
21.1.0 - 2023-07-28
- Added
GET /organizations/collection
endpoint to fetch all organizations with cursor pagination - Added
GET /persons/collection
endpoint to fetch all persons with cursor pagination
21.0.0 - 2023-07-27
- Variable name in the "Complete example" paragraph in the README
20.5.2 - 2023-07-19
- Variable name in the "Complete example" paragraph in the README
20.5.1 - 2023-07-18
- Added list of searchable custom field types to persons, organizations, products and deals search endpoints descriptions.
20.5.0 - 2023-07-17
deprecated_operators
field toGET /filters/helpers
endpoint response
20.4.0 - 2023-07-13
- Changed
product_id
body parameter to be optional for Update Deal Product endpoint
20.3.0 - 2023-06-13
- Schemas for
call-logs
as they only includedbase-response
without additional properties in the response schema
20.2.0 - 2023-06-13
- Schemas for
call-logs
as they only includedbase-response
without additional properties in the response schema
20.1.1 - 2023-06-05
enum
keyword from boolean schema attributes as its possible values are not the string type
20.1.0 - 2023-06-05
- Update the paths to DealStrict and DealNonStrict schemas
20.0.2 - 2023-05-23
20.0.1 - 2023-05-23
- Updated README.md file: fixed documentation links, added content table
20.0.0 - 2023-05-22
Based on this Changelog post:
- Removed
variations_enabled
response field fromGET /deals/{id}/products
19.1.0 - 2023-04-27
- Added
revokeToken
function to the sdk. With this function you can revoke an access token or refresh token (mark an app as uninstalled).
19.0.1 - 2023-04-27
- Updated
label
field data type in response examples from number -> string for Deals related endpoints Changedactive_flag
,enabled_flag
, andselectable
body parameters and response examples data type from number -> boolean for all Products related endpoints
19.0.0 - 2023-04-04
Based on this Changelog post:
- Removed non product-related fields from the response of
GET /products/{id}/files
- Removed
product_attachment_id
response field fromPOST /deals/{id}/products
andDELETE /deals/{id}/products/{product_attachment_id}
- Removed mistakenly documented pagination fields from
GET /products/{id}/permittedUsers
- Removed
item_price
andquantity
as required request fields fromPUT /deals/{id}/products/{product_attachment_id}
Based on this Changelog post:
- Updated the
sort
query parameter forGET /products/{id}/files
to only supportid
andupdate_time
field keys - For
PUT /deals/{id}/products/{product_attachment_id}
: parametersitem_price
andquantity
are not required - Changed
active_flag
,enabled_flag
, andselectable
body parameters and response examples data type from number -> boolean for all Products related endpoints
- Added an optional
duration_unit
body parameter forPUT /deals/{id}/products/{product_attachment_id}
andPOST /deals/{id}/products
- Added
GET /leads/:id/permittedUsers
endpoint to retrieve the users that have access to a certain lead - Added the
version
body parameter toPOST /webhooks
endpoint - Added pagination parameters documentation for
GET /stages
endpoint - Added
GET /roles/:id/pipelines
endpoint to get pipelines visibility for a role - Added
PUT /roles/:id/pipelines
endpoint to update pipelines visibility for a role - Added
GET /activities/collection
endpoint to fetch all activities with cursor pagination - Added
GET /deals/collection
endpoint to fetch all deals with cursor pagination
18.1.4 - 2023-02-13
- Removed
name
body parameter fromPOST /v1/users
based on this post.
18.1.3 - 2023-02-08
- Updated
limit
description forGET /v1/callLogs
- Updated
activity_id
description forPOST /v1/callLogs
- Added
next_start
field in theGET /v1/callLogs
response example
18.1.2 - 2023-02-02
- Added missing OAuth scopes for PermissionSets, Roles, and Users API endpoints
18.1.1 - 2023-01-25
- Updated
user_id
description forPOST /webhooks/
- Adds support for snake_case query params reported in #410
18.1.0 - 2023-01-20
- Removed
location_lat
andlocation_long
fields from the following endpoints activity details response:- GET /v1/activities
- GET /v1/activities/{id}
- POST /v1/activities
- PUT /v1/activities/{id}
- Fixed a typo in
GET /itemSearch/field
- Fixed mistakenly documented response field for
GET /v1/deals/{id}/followers
fromperson_id
todeal_id
.
- Optional
lead_id
parameter toPOST /v1/files
lead_id
andlead_name
to the/v1/files
endpoints
- Removed deprecated endpoints that will be deleted:
GET /roles/{id}/roles
- Removed
followers_count
from Product-related entities and endpoints based on this post. Changing the following endpoints:- GET /deals/{id}/products
- GET /products
- GET /products/{id}
- POST /products
- PUT /products/{id}
18.0.3 - 2023-01-11
- Updated
json5
from 2.2.1 to 2.2.3 - Updated
qs
from 6.9.3 to 6.11.0 - Updated
formidable
from 2.0.1 to 2.1.1 - Updated
decode-uri-component
from 0.2.0 to 0.2.2 - Updated
minimatch
from 3.0.4 to 3.1.2 - Updated
mocha
from 8.4.0 to 10.1.0
18.0.2 - 2022-12-22
- Fixed a typo in
GET /itemSearch/field
18.0.1 - 2022-12-15
- Move @babel/runtime from devDependencies to dependencies to fix a runtime error
- Removed
.instance
static property from sdk client to prevent race conditions when using it as a singleton See the updated examples in the readme to get an overview of the necessary code changes.
- Updated endpoint descriptions to warn about permanently removing deleted entities:
DELETE /activities
DELETE /activities/{id}
DELETE /deals
DELETE /deals/{id}
DELETE /files/{id}
DELETE /organizations
DELETE /organizations/{id}
DELETE /persons
DELETE /persons/{id}
DELETE /products/{id}
- Updated
conditions
parameter description forPOST /filters
andPUT /filters/{id}
- Fixed custom field value (it should return null if the value is null)
- Updated
type.params.pipeline_id
andtype.params.activity_type_id
description, type and response example for goals queries
- Added
pipeline
andstage
objects to therelated_objects
section in the following endpoints:GET /v1/deals
GET /v1/deals/{id}
GET /v1/organizations/{id}/deals
GET /v1/persons/{id}/deals
GET /v1/products/{id}/deals
POST /v1/deals
PUT /v1/deals/{id}
- Changed the content type to
application/json
in the following endpoints:POST /activityTypes
PUT /activityTypes/{id}
- Removed query
include_deleted_files
parameter for these endpoints based on this postGET /files
GET /deals/{id}/files
GET /organizations/{id}/files
GET /persons/{id}/files
GET /products/{id}/files
- Removed deprecated endpoints that will be deleted:
POST /users/{id}/roleAssignments
DELETE /users/{id}/roleAssignments
- Added and updated the descriptions of roles endpoints
- Changed the content type to
application/json
in the following endpoints:DELETE /roles/{id}/assignments
POST /roles/{id}/settings
PUT /roles/{id}
POST /roles
POST /roles/{id}/assignments
PUT /users/{id}
- Updated
PUT /users/{:id}
: required parameteractive_flag
has no default value
- Changed
PUT /goals/{id}
content type toapplication/json
- Description for product requests
- Removed deprecated endpoints that were deleted:
GET /globalMessages
DELETE /globalMessages/{id}
- Updated
PUT /organizations/{id}
: parametername
is not required - Updated
PUT /notes/{id}
: parametercontent
is not required - Changed models related to the endpoints to reflect the changes
- Removed
matches_filters
field from the POST/deals
and PUT/deals/{id}
endpoints response - Description for
GET/v1/filters/helpers
endpoint - Changed
POST /v1/users
request body type fromapplication/x-www-form-urlencoded
toapplication/json
- Added
access
field to responses fromGET /v1/users
,GET /v1/users/{id}
, etc. - Added optional
access
parameter and madename
optional inPOST /v1/users
- Added
app
,type
anddescription
fields to responses fromGET /v1/permissionSets
andGET v1/permissionSets/{id}
- Added optional
app
parameter toGET /v1/permissionSets
- Deprecated
is_admin
andsignup_flow_variation
fields in responses fromGET /v1/users
,GET /v1/users/{id}
, etc.
- Added
person_id
andorganization_id
query parameters to GET/v1/leads
- Description for api/v1/channels endpoints
- Fixed issue with custom monetary field currency
- Added restriction of maximum 16 conditions per filter.
- Removed support for
NOT LIKE '%$%': does not contain, LIKE '%$': ends with, NOT LIKE '%$': does not end with
varchar and title filter conditions.
- Changed
id
parameter data type tostring
for GET/permissionSets/{id}
and GET/permissionSets/{id}/assignments
endpoints - Changed
id
field data type tostring
for response from GET/permissionSets
and GET/permissionSets/{id}
endpoints - Changed
permission_set_id
field data type tostring
for response GET/permissionSets/{id}/assignments
endpoints - Removed
id
field from response for GET/permissionSets/{id}/assignments
endpoints
- Added deprecated flags to
GET /globalMessages
andDELETE /globalMessages/{id}
- Added
primary_email
field to response ofGET /v1/persons
,GET /v1/persons/{id}
endpoints
- Update the following dependencies:
superagent
- Renamed file with long name and it's class.
Old name: AnyOfRecentsActivityRecentsActivityTypeRecentsDealRecentsFileRecentsFilterRecentsNoteRecentsPersonRecentsOrganizationRecentsPipelineRecentsProductRecentsStageRecentsUser New name: AnyOfRecents
- Updated
PUT /persons/{id}
: parametername
is not required
- Moved
v1/teams*
endpoints tov1/legacyTeams*
as they're being deprecated because we are preparing for an upgraded version of the Teams API, which requires migrating the current functionality to a new path URLv1/legacyTeams*
. The functionality and OAuth scopes of all the Teams API endpoints will remain the same.
- Updated
PUT /productFields/{id}
: parametername
is not
- Added babel/runtime to dependencies
- Moved the following dependencies to devDependencies:
@babel/cli
@babel/runtime
jest-environment-node
- Date formatting in responses in the following entities and their respective fields:
- activities:
due_date
- deals:
expected_close_date
- leads:
expected_close_date
- subscriptions:
due_at
,start_date
,end_date
- activities:
Those fields will be formatted as "2020-07-13" instead of "2020-07-13T00:00:00.000Z" in the request response.
- Added
GET /billing/subscriptions/addons
endpoint
- Added missing oauth scopes to /products/{id}/permittedUsers endpoint
- Changed rotten_flag type to boolean in
StagesApi
- Added
everyone
parameter toGET /v1/stages/{id}
endpoint - Updated
/v1/deals
endpointstage_id
and addedpipeline_id
descriptions
- Updated
POST /products
: parametername
is required - Updated
PUT /deals/:dealId/products
: parameterquantity
anditem_price
are required - Updated
POST /deals/:dealId/products
: parameterquantity
anditem_price
are required
- Updated
POST /notes
: parametercontent
is required - Updated
POST /organizations
: parametername
is required - Updated
POST /persons
: parametername
is required - Updated
DELETE /persons
: parameterids
is required - Updated
visible_to
parameter forPOST /deals
andPUT /deals/{id}
to include typenumber
- Updated
visible_to
parameter forPOST /persons
andPUT /persons/{id}
to include typenumber
- Updated
visible_to
parameter forPOST /organizations
andPUT /organizations/{id}
to include typenumber
- Added quotation marks to fix formatting for Organizations endpoint
visible_to
parameter - Updated
prices
parameter description in Products endpoint
- Update
visible_to
parameter forPOST /deals
andPUT /deals/{id}
. Differentiate options by plans - Update
visible_to
parameter forPOST /persons
andPUT /persons/{id}
. Differentiate options by plans - Update
visible_to
parameter forPOST /organizations
andPUT /organizations/{id}
. Differentiate options by plans
- Fixed wrong field name normalization for custom fields keys
- Deprecate /v1/mailbox/mailMessages/{id} & /v1/mailbox/mailThreads/{id} response data property write_flag
- Fix replaceCamelCaseObj is not defined reference issue in ApiClient
- Styling fixes: capitalization, tutorial links' texts, code-highlighting in descriptions
- Changed person-related endpoints to include
marketing_status
body parameter:POST /v1/persons
,PUT /v1/persons/{id}
- Fixed runtime error for
FilesApi.addFile
- Fixed missing required parameters check
- Fixed camelCase support for application/json endpoints
- Fixed capitalization, punctuation, grammar, articles in all endpoint descriptions
- Added leadField to field_type options for
GET /v1/itemSearch/field
- Fix
POST /organizationRelationships
'required' labels not showing
- Added
tax
parameter on add product to the deal.
- POST /v1/deals/{id}/products
- PUT /v1/deals/{id}/products/{product_attachment_id}
- Improved
follower_id
description
- DELETE /v1/products/{id}/followers/{follower_id}
- Improve Products
price
description
- Changed/improve Products
visible_to
type, and differentiate options by plans
- POST /products
- PUT /products/{id}
- Fixed
POST /roles/{id}/settings
value
parameter description
- Added type to
POST /roles/{id}/settings
value
parameter - Added description to
POST /roles/{id}/settings
- Changed Organization
custom_fields
type to a string array
- Fixed typo in
ids
query parameter description in GET /products
- Changed/improved
subscription_url
body parameter description
- POST /webhooks
- Fixed items type for
email
andphone
body parameters
- POST /persons
- Added
filter_id
toGET /products
query parameters that was wrongfully removed in 0.1.18
- Removed
int
type fromPOST /v1/organizationFields
field_type values - Removed
int
type fromPOST /v1/personFields
field_type values - Removed
int
type fromPOST /v1/dealFields
field_type values
- Changed notes and comments endpoints additional_data to match the correct pagination response structure
- GET /notes
- GET /notes/:id/comments
- Removed deprecated endpoints that were deleted:
- GET /deals/find
- GET /persons/find
- GET /organizations/find
- GET /products/find
- GET /searchResults
- GET /searchResults/field
- Changed addDeal POST endpoint to include required person_id or org_id
- Use /api/v1 path when accessing the API using company domain
- Fixed UNKNOWN_BASE_TYPE error related to updateStage
- Support for endpoints added and updated endpoints changed after March 31, 2021
- Support for multiple instances issue #176
- Convenience functions regarding OAuth 2.0 lifecycle including
buildAuthorizationUrl
,authorize
andrefreshToken
- Support for changing the host URL issue #228
- Support for both snake_case and camelCase in request parameters
UpdateProductResponse
forPUT /products/{id}
Team
(singular) schema for endpoints that deal with a single team- Support for custom fields for
Content-Type: application/x-www-form-urlencoded
type requests - Added note field to call logs.
- Added pagination parameters documentation for endpoints:
- api/v1/DealFields#getDealFields
- api/v1/OrganizationFields#getOrganizationFields
- api/v1/PersonFields#getPersonFields
- api/v1/ProductFields#getProductFields
- Changed POST/PUT for a lot of endpoints to accept
application/json
instead ofapplication/x-www-form-urlencoded
- Added required fields to the OrganizationRelationship and Notes POST endpoints
- Updated
MailThreadPut
schema to representobject
in response instead of anarray
- Updated description for
MailThreadOne
- Split
Product
schema intoBaseProduct
andProductWithArrayPrices
orProductWithObjectPrices
to representprices
property witharray
type andobject
type respectively - Use the new
ProductWithObjectPrices
inUpdateProductResponse
TeamSuccess
response schema to refer toTeam
(singular) instead ofTeams
(plural)- Extended
DELETE /calllogs/{id}
security withapi_key
property. - Extended
POST /callLogs/{id}/recordings
security withapi_key
property. - Extended
GET /v1/roles/{id}/settings
response withlead_default_visibility
property. - Extended
POST /v1/roles/{id}/settings
request payload withlead_default_visibility
property. - Deleted
MailThreads
andMailMessages
from API operation groups and combined them underMailbox
group. - Extracted
LeadLabels
andLeadSources
API operation groups fromLeads
group. - Deleted
MailThreads
andMailMessages
from API operation groups and combined them underMailbox
group. - Extracted
LeadLabels
andLeadSources
API operation groups fromLeads
group. - Updated documentation for search endpoint: include Lead as one of the possible returned entities in related objects
- Changed POST /v1/webhooks to accept
application/json
instead ofapplication/x-www-form-urlencoded
to reflect the reality
- Deleted deprecated
note
field from all lead related documents. - Deleted unused files (copied latest auto-generated version)
- Fixed GET /goals/:id/results
period.start
parameter description with specified possible dates - Fixed GET /goals/:id/results
period.end
parameter description with specified possible dates - Fixed
GET /goal/:id/results
error handling in cases when period.start or period.end dates are out of possible range - Fixed
GET /goal/:id/results
error handling in case when there are no existing stages connected to specified goal - Fixed typo in lead example response (
crrency
tocurrency
)