A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
Hello, everyone. Can someone help me with figuring out whether Shopfy API has an alternative for refunds/calculate.json endpoint (link below) in GraphQL.
https://shopify.dev/api/admin-rest/2022-04/resources/refund#post-orders-order-id-refunds-calculate
Solved! Go to the solution
This is an accepted solution.
Hey @john_watson_1
The GraphQL admin API doesn't require a refund to be "calculated" in a separate call like with REST, it uses the refundCreate mutation instead.
Hope that helps.
JamesG | API Support @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
This is an accepted solution.
Hey @john_watson_1
The GraphQL admin API doesn't require a refund to be "calculated" in a separate call like with REST, it uses the refundCreate mutation instead.
Hope that helps.
JamesG | API Support @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog