A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
We are implementing refund as per the following article. We are using refundSessionResolve to resolve the refund and refundSessionReject to reject the refund. In this flow, we observed that if we select restock and the refund fails then the product will be restocked.
https://shopify.dev/apps/payments/processing-a-refund#resolve-a-refund