A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
I want to use API endpoint /admin/api/2022-07/shopify_payments/payouts.json to get a list of payouts then use API endpoint /admin/api/2022-07/shopify_payments/payouts/623721858.json to get more specific details of the payout. Finally I want o get each order associated to the payout. I cannot see an endpoint for this. However I have read this https://community.shopify.com/c/shopify-apis-and-sdks/linking-payouts-to-order-transactions-using-ap... and it said 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. Is this correct and if so how can I get this set up