API v1 to V2: Some fields are missing in API responses

I’ve got a couple of questions:

  1. In the GET /v1/deals/{id} endpoint, there used to be a field called renewal_type on the deal object. It’s no longer present in the response (In the V2 endpoint as well). Was this field removed? And if so, is there an alternative way to access that it?

  2. For organizations: the field, address_subpremise, we previously retrieved via GET /v1/organizationFields is still visible there, and its value also shows up in GET /api/v1/organizations/{id} V1 endpoint, But when using the new V2 organizations endpoint, that field is missing from the response. I didn’t see anything about this in the changelog as well.

Is this field deprecated in V2, or is there another method to fetch its value for an organization?
Would appreciate some quick clarification on both since we are blocked from migrating endpoints from V1 to V2 with this.

Hey, as per API v2 migration guide, subpremisewas removed because it was always null: https://pipedrive.readme.io/docs/pipedrive-api-v2-migration-guide#/address-custom-field-format-changes

Hi Andreas,

The migration guide is incorrect, subpremise was not always null. I have just created a new post with an example.
Please add subpremise back, this is blocking the upgrade to v2, since addresses that include apartment numbers can’t be fully parsed anymore