Newer Version Available

This content describes an older version of this product. View Latest

Update an Account, Create a Contact, and Link Them with a Junction Object

The following example uses the Composite resource to update some fields on an account, create a contact, and link the two records with a junction object called AccountContactJunction. All these requests are executed in a single call. The composite.json file contains the composite request and subrequest data.
Update an account, create a contact, and link them with a junction object
Request body composite.json file
Response body after successfully executing the composite request