Saving a parents thing when creating a list with API

Hi forums,
getting a bit stuck with my data set up,
(the application is a system to handle orders and recipes for chefs for context)
i need to create a data entries for the products that are mapped to the users active sub order.
I’m creating these entries by using the api on list function. this is running on a list of products contained within the sub order. what i want is to also save a reference to this sub order along with the product so that it can be used as a key in a later step.
is this possible to do?

any advice would be great.
kind thanks!

If the API supplies you with a suborder id that is present in that dB record. Then you can search it, find it and set it to the respective related data in the flow.