On Salesforce, we have our
Opportunity sObject contains a lookup to a custom SObject
We would like to create an integration from the Microsoft Azure platform which would update both the Opportunity and BankDetails in a single call.
I'm trying to decide the best approach for this. I'm inclined to either use the REST Api or Apex Rest services.
As we'd want the update to be handled as a transaction, making two calls to the REST Api does not seem viable.
Would it be possible to push both records at once with a single call to the REST Api? If so, how?
If not, is there any reason to prefer some other solution over Apex REST Services?