When you select a REST V2 connection for a Target transformation, you can select an operation. The operation is based on the swagger specification file that you specify during the REST V2 connection configuration.
You can add multiple input groups into the REST target and define the primary and foreign key relationships between the multiple input groups before the mapping.