Combine JSON from FOR EACH Loop

I have a loop that runs through a function. The function outputs some JSON. I need to pass the results of all the loops back through the API request, not just from a single run of the loop.
[image.png]I'm not entirely sure what the correct way to do this is, but I'm guessing that I need to create a variable, and merge each run of the function together to build a larger output. Is there a certain function that does this, any idea on correct way to do this?

Right now everything works, and I can see it running through the function each time, however I am only getting output from a single run returned in the API, not all of them.
Other
1 reply