@@ -229,6 +229,9 @@ curl_wrap("contacts/5722721933590528", null, "DELETE", "application/json");
229229
230230#### 1.4 Update properties of a contact (partial update)
231231
232+ - If updating custom field, make sure it should be present in the below link also
233+ - https://{domain}.agilecrm.com/#custom-fields
234+
232235``` javascript
233236
234237$contact_json = array (
@@ -371,6 +374,9 @@ curl_wrap("contacts/5695414665740288", null, "DELETE", "application/json")
371374
372375#### 2.4 Update properties of a company (partial update)
373376
377+ - If updating custom field, make sure it should be present in the below link
378+ - https://{domain}.agilecrm.com/#custom-fields
379+
374380``` javascript
375381$company_json = array (
376382 " id" => " 5695414665740288" , // It is mandatory filed. Id of company
@@ -440,6 +446,15 @@ $companies = curl_wrap("search?q=Google&page_size=10&type='COMPANY'", null, "GET
440446echo $companies;
441447```
442448
449+ #### 2.8 Get Contacts of a company
450+
451+ ``` javascript
452+
453+ $contacts = curl_wrap (" contacts/related/5712911708192768?page_size=25" , null , " GET" , " application/json" );
454+
455+ echo $contacts;
456+ ```
457+
443458## 3. Deal (Opportunity)
444459
445460- ** Note** Milestone name is case sensitive. It should be exactly as in your Agile CRM
@@ -485,6 +500,8 @@ curl_wrap("opportunity/5739083074633728", null, "DELETE", "application/json");
485500#### 3.4 To update deal (Partial update)
486501
487502- ** Note** No need to send all the data of a deal only the deal values want to update.
503+ - If updating custom field, make sure it should be present in the below link also
504+ - https://{domain}.agilecrm.com/#custom-fields
488505
489506``` javascript
490507$opportunity_json = array (
0 commit comments