curl --request POST \
--url 'https://actionkit.useparagon.com/projects/{project_id}/actions/#SALESFORCE_UPDATE_RECORD_OPPORTUNITY' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"action": "SALESFORCE_UPDATE_RECORD_OPPORTUNITY",
"parameters": {
"recordId": "<string>",
"Name": "<string>",
"StageName": "<string>",
"CloseDate": "<string>",
"AccountId": "<string>",
"Amount": "<string>",
"Description": "<string>",
"OwnerId": "<string>",
"NextStep": "<string>",
"additionalFields": {}
}
}
'curl --request POST \
--url 'https://actionkit.useparagon.com/projects/{project_id}/actions/#SALESFORCE_UPDATE_RECORD_OPPORTUNITY' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"action": "SALESFORCE_UPDATE_RECORD_OPPORTUNITY",
"parameters": {
"recordId": "<string>",
"Name": "<string>",
"StageName": "<string>",
"CloseDate": "<string>",
"AccountId": "<string>",
"Amount": "<string>",
"Description": "<string>",
"OwnerId": "<string>",
"NextStep": "<string>",
"additionalFields": {}
}
}
'Your Paragon User Token (JWT), which you can generate using your project's signing keys.
Your Paragon Project ID. You can copy your Project ID from your dashboard URL or by clicking Copy Project ID under the Environment switcher.
Show child attributes
Record ID : The ID of the record to update.
Name : The Opportunity name.
Stage : Defaults to the user’s first Opportunity Stage if not provided. Use Connect Portal Workflow Settings to allow users to select an Opportunity Stage.
Close Date : Defaults to 30 days from the current date if not provided. (example: "YYYY-MM-DD")
Account ID : The Account that the Opportunity belongs to.
Amount : Estimated total sale amount.
Description : A description of the Opportunity.
Owner ID : The Salesforce user assigned to work on this Opportunity.
Next Step : Description of next task in closing Opportunity.
Additional Fields : Specify any other fields that should be updated in JSON below. Use Connect Portal Workflow Settings to allow users to select which Opportunity fields to update. (example: "{ "property_number": "17", "property_dropdown": "choice_b", "property_radio": "option_1", "property_string": "value", "property_date": "1572480000000" }")
Success
Was this page helpful?