From what I read here, the refunds have linked order_adjustments that contain, among other things, the shipping refund amounts.
However, I can't find their corresponding equivalent on the GraphQL API Refund object.
How can I find how much the shipping refund accounts for in an existing refund using the GraphQL API ?
Solved! Go to the solution
This is an accepted solution.
Hey @Elrendio
Seems like it's in the works. I was able to access using the unstable version of the API via refunds.orderAdjustments:
POST /admin/api/unstable/graphql.json
{
order(id: "gid://shopify/Order/...") {
refunds {
orderAdjustments(first:10) {
edges {
node {
id
}
}
}
}
}
}
User | Count |
---|---|
13 | |
12 | |
7 | |
4 | |
4 |