Send nested JSON with server-side API

Now my final question, I hope this is possbile.

I have just 2 steps in my server action, both API calls. But the response of api1 should be inserted into api2. Api2 has the nested JSON talked about above.

Knipsel
The input data has the post variable mentioned earlier: {{$_POST.purchase_order}}

Now, how do I insert the response of api1 into one of the childs of {{$_POST.purchase_order}} of api2?

@Teodor