What is the optimal...
 
Notifications
Clear all

What is the optimal way to implement this?

1 Posts
1 Users
0 Likes
39 Views
Theo
 Theo
(@baintheo)
Noble Member
Joined: 7 months ago
Posts: 371
Topic starter  

A company represents their customers as Accounts that have an External ID field called Customer_Number__c. They have a custom Order (Order__c) object, with a Lookup to Account, to represent Orders that are placed in their external order management system (OMS). When an order is fulfilled in the OMS, a REST call to Salesforce should be made that creates an Order record in Salesforce and retates it to the proper Account .

What is the optimal way to implement this?

  • A . Perform a REST GET on the Account and a REST POST to update the Order__c with the Account's record I
  • C . Perform a REST PATCH to upsert the Order__c and specify the Account's Customer_Number__c in it.
  • D . Perform a REST GET on the Account and a REST PATCH to upsert the Order__c with the Accounts record I
  • F . Perform a REST POST to update the Order__c and specify the Account's Customer_Number__c in it.

Show Answer Hide Answer

Suggested Answer: B

   
Quote
Share: