We have a contact lookup field on Account object - which basically defines the primary contact of that account.
We have an integration to update account record and would need to update the primary contact in the same call. Is it possible to do ? External system does not have any reference to this primary contact and neither in salesforce (as external id).
I am trying to do as below
Account.Name = 'test'; //update account record Account.Primary_Contact__r.FirstName = 'test first'; //update primary contact record
So basically it should be able to update both Account and its Primary Contact.
I found a way to do this using PATCH as mentioned here. But it requires another call from Account update.