+ Start a Discussion
ManojKumar MuthuManojKumar Muthu 

Rest API Callout for account object

Hi there,

I am new to the integration could someone help me with the below requirment,

We have integrated salesforce with one of our website and used rest api for all call.
Now from the website they had shared their api so that I have to update the details in the webpage when some modification happens in Salesfroce.
For Instant: I had change the account owner for "India" accounts then I have to call the give third party api and update the same in the website.
I have already set up the remote site.

TIA 
JayantJayant
What authentication are you using ? 
You can setup Named Credentials for your website and do an http callout from a trigger. You would need the xml or JSON payload structure that your website is expecting. 

https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_classes_restful_http_httprequest.htm

https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_callouts_named_credentials.htm