Freshsales API
sales_account_id body parameter removal on PUT /crm/sales/api/contacts/{id}
Deprecated, no dateSubscribe to Freshsales APIShare
The Freshsales API deprecated the body parameter sales_account_id on PUT /crm/sales/api/contacts/{id} without a shutdown date. Calls that include this deprecated parameter will eventually fail once it is removed.
Calls it hits
PUT /crm/sales/api/contacts/{id}body parameter sales_account_id
What to use instead of these calls
Update your requests to send the contact's accounts using the sales_accounts parameter, structured as an array of {id, is_primary}, instead of sales_account_id.
In Freshsales API's words
Usage of this key is deprecated. Use sales_accounts key to associate accounts to a contact.
Facts
- API
- Freshsales API
*.myfreshworks.com - Kind
- Parameter removal
- Takes effect
- No date given yet
- Calls after that day
- Fail
- Source
- Announcement
- Last updated
- Verified
- , against Freshsales API's own pages
Questions
When does this change take effect?
Freshsales API deprecated PUT /crm/sales/api/contacts/{id}, body parameter sales_account_id without giving a shutdown date yet.
Do these calls still work?
Yes, they still work: Freshsales API has not given a shutdown date yet.
How do I find the calls this hits in my code?
Okapi reads your repository, finds the calls this change hits and opens a pull request with the fix. It never commits to your branches: every change comes as a pull request you review.
More from Freshsales API 3
-
No date
POST /crm/sales/api/contactsParameter removal Deprecated, no date -
No date
PUT /crm/sales/api/contacts/{id}Parameter removal Deprecated, no date -
No date
POST /crm/sales/api/contactsParameter removal Deprecated, no date
Is your code calling this?
Okapi finds the calls this change hits in your repo and opens the pull request with the fix.