diff --git a/CHANGELOG.md b/CHANGELOG.md index 22605b73..0a2585c2 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] +### Added +- Documented `address` property in the Organization v2 API for add and update endpoints: + - `POST /v2/organizations` + - `PATCH /v2/organizations/{id}` ## [27.2.0] - 2025-06-02 ### Changed diff --git a/src/versions/v2/models/add-organization-request.ts b/src/versions/v2/models/add-organization-request.ts index a16fe279..3529df51 100644 --- a/src/versions/v2/models/add-organization-request.ts +++ b/src/versions/v2/models/add-organization-request.ts @@ -13,6 +13,9 @@ */ +// May contain unused imports in some cases +// @ts-ignore +import { OrganizationItemAddress } from './organization-item-address'; /** * @@ -50,5 +53,10 @@ export interface AddOrganizationRequest { * @type {Array} */ 'label_ids'?: Array; + /** + * + * @type {OrganizationItemAddress} + */ + 'address'?: OrganizationItemAddress; } diff --git a/src/versions/v2/models/organization-item-address.ts b/src/versions/v2/models/organization-item-address.ts index 5887ffd9..64062be6 100644 --- a/src/versions/v2/models/organization-item-address.ts +++ b/src/versions/v2/models/organization-item-address.ts @@ -15,7 +15,7 @@ /** -* +* The address of the organization * @export * @interface OrganizationItemAddress */ diff --git a/src/versions/v2/models/update-organization-request.ts b/src/versions/v2/models/update-organization-request.ts index 5bea52e1..a70dcc90 100644 --- a/src/versions/v2/models/update-organization-request.ts +++ b/src/versions/v2/models/update-organization-request.ts @@ -13,6 +13,9 @@ */ +// May contain unused imports in some cases +// @ts-ignore +import { OrganizationItemAddress } from './organization-item-address'; /** * @@ -50,5 +53,10 @@ export interface UpdateOrganizationRequest { * @type {Array} */ 'label_ids'?: Array; + /** + * + * @type {OrganizationItemAddress} + */ + 'address'?: OrganizationItemAddress; }