GraphQL - Match payout IDs with order IDs

New Member
2 0 0


I have a list of payout IDs and a list of order IDs. I need to match the orders with the payouts. Therefore, I would like to make GraphQL requests that:
 - Take as input an order ID and return the associated payout ID.
 - Take as input a payout ID and return the list of the associated orders.

Both solutions are fine, but I didn't find how to do neither of them. Has anyone found a solution ?