How to push CFS Fields(non-Filetype) for Opportunity? | API

Query:
>> In Opportunity I am trying to insert fields within a field set. I tried replicating the solution for Leads section as provided in the API Docs page but getting error.
To do that, please retrieve the schema names using the steps and descriptive screenshots below;
2) Go to the respective CFS;
3) Post retrieving the CFS Core Schemas, click on Edit to retrieve sub-field schemas;
4) Voila! You should now be having access to the necessary schema names;

Sample cURL:
cURL Request:
--header 'Content-Type: application/json' \
--data '{
"ProspectOpportunityId": "8194e5da-a7de-4348-bbc3-9275281cea89",
"OpportunityNote": "Update note",
"Fields": [
{
"SchemaName": "mx_Custom_1",
"Value": "test saideeo"
},
{
"SchemaName": "mx_Custom_42",
"DisplayName": "Dates",
"Fields": [
{
"SchemaName": "mx_CustomObject_1",
"Value": "2024-04-16 15:13:44"
}
]
}
]
}'
Please use the above cURL as a reference to build your API body and hope that helps!
Related Articles
Opportunity import error | Updation | Import restrcition
Issue reported: When trying to update opportunities using the opportunity import function, the following error is displayed in the import report as shown below. Import parameter to be noted - Overwrite duplicates. Error message - "Creation of new ...
Filter and search only opportunity fields in form rules
Problem: Currently if you try to search form rules containing a particular opportunity field in the search bar, it does not yield any results. This is a bug and will be fixed in upcoming releases. Workaround: Remove the opportunity code in the search ...
User Retrieve API Exception
Hi Team, This is to let you know that there is an exception in all user retrieve APIs that, if you retrieve users in the account then in response, you will not get any custom user fields which is of dropdown types. To get all those details you need ...
Task owner in opportunity page and in manage task page can be different
Hi Team, There can be a possibility where the task owner in opportunity page and in manage task page can be different. Reason for this issue:- If the the user Name, Email and phone number everything will be changed for any user who is task owner, ...
Can Enabling "Allow non-lead email address(es) in the CC field" Setting Generate Unwanted Leads in LeadSquared?
Query: The client wants to avoid the creation of junk or unwanted leads in LeadSquared when enabling the "Allow non-lead email address(es) in the CC field" setting. What steps can the client take to prevent this situation? Solution: To prevent this ...