Contents
Changelog
UPDATE
Effective from:
April 3, 2023
Breaking change: data type update for 3 products-related parameters
Announced: January 31, 2023
Effective from:
April 3, 2023
April 3, 2023
<p><b>What is changing?</b></p>
<p><b>1. Products API</b></p>
<p>From <b>April 3, 2023</b>, the data type for the <code>active_flag</code> and <code>selectable</code> body parameters will be changed to boolean (with true and false values), instead of the current integer type. This applies to the following endpoints:</p>
<ul>
<li><code><a href="https://developers.pipedrive.com/docs/api/v1/Products#addProduct">POST /products</a></code></li>
<li><code><a href="https://developers.pipedrive.com/docs/api/v1/Products#updateProduct">PUT /products/{id}</a></code></li>
</ul>
<p><b>2. Deals API</b></p>
<p>Similarly, from <b>April 3, 2023</b>, the data type for the <code>enabled_flag</code> body parameter will be changed to boolean (with true and false values), instead of the current integer type. This applies to the the following endpoints:</p>
<ul>
<li><code><a href="https://developers.pipedrive.com/docs/api/v1/Deals#addDealProduct">POST /deals/{id}/products</a></code></li>
<li><code><a href="https://developers.pipedrive.com/docs/api/v1/Deals#updateDealProduct">PUT /deals/{id}/products/{product_attachment_id}</a></code></li>
</ul>
<p><b>Why is it changing?</b></p>
<p>Due to a legacy implementation on our side, the <code>active_flag</code>, <code>selectable</code>, and <code>enabled_flag</code> body parameters have so far accepted both boolean and integer data types. From April 3, 2023, the parameters will accept only boolean values to be consistent with other boolean fields in our API.</p>
In case of any questions or comments, let us know in the Developer’s Community.