
Push data to an empty collection and send this collection to the next endpoint
Hello,
I have an action on a post endpoint which loops through an unknown number of invoices. for every invoice it loops through it creates an invoice. What I want to do is to create an empty collection and every time an invoice has been created push that id of the created invoice into that empty collection. So I will endup with an array of invoice ids. After that I want to use this collection of ids on the next endpoint.
Is this possible?
Thnx
Hello,
I have an action on a post endpoint which loops through an unknown number of invoices. for every invoice it loops through it creates an invoice. What I want to do is to create an empty collection and every time an invoice has been created push that id of the created invoice into that empty collection. So I will endup with an array of invoice ids. After that I want to use this collection of ids on the next endpoint.
Is this possible?
Thnx
Login to reply