Skip to main content

Can we create a Lead and Account in a same transaction via Composite request body ? 

 

I want to create a Lead and after creating the Lead, I want to access the Lead Data dynamically to create the Account in a Single Transaction. I want to do it by Composite Request. 

 

Is it possible ?

2 respuestas
  1. 17 feb 2025, 11:17

    Yes. You will have to use a referenceId while creating the first record. And then use the  @{ referenceId .id} while creating the second record.

0/9000