I know how to get the list of payouts using the API, I also know how to get transactions (for each orders), I would like now to get the list of transactions (at the order level) that makes one specific payout.
So in other words, for a specific payout ID, I would like to get the list of orders/transactions associated to it.
We are using shopify payments, that information is available in the shopify UI, I would expect it to be available through the API also.
Thanks in advance for any pointer
Solved! Go to the solution
Good luck on your venture. There are a few posts on here recently that outline the difficulties in pulling this together. In short, I don't think there is just a single API request to retrieve this, or even a pair of API requests really...
This is an accepted solution.
It is really quite simple. I just helped a buddy do exactly this. He wanted to match payouts to orders for his accounting. You just ask Shopify for permission on the payouts scopes, and then you can easily get the payouts and within the payouts, the orders associated with them,
It is very straightforward in the OLD RestAPI, so do not look at the GraphQL to save your bacon here. Best of luck. Again.. it is actually quite simple. You don't need anything but basic API calls and the toughest thing is getting that scope permission granted by Shopify. Tell them it is for your store, and I am sure they will grant it to you.