refundSessionResolve mutation
Resolves an open refund session.
Required access
write_payment_sessions
access scope.
On this page
Interactive example
This is an example mutation query. Use the embedded interactive tool below to edit the query.
Hint: use Ctrl + Space for autocompleting fields.
mutation refundSessionResolve($id: ID!) { refundSessionResolve(id: $id) {} } { “id”: “Z2lkOi8vU2hvcGlmeS9FeGFtcGxlLzE=” }
<font style="color:#1F61A0;">refundSession</font> <font style="color:#555555;">{</font>
<font style="color:#1F61A0;">id</font>
<font style="color:#555555;">}</font>
<font style="color:#1F61A0;">userErrors</font> <font style="color:#555555;">{</font>
<font style="color:#1F61A0;">code</font>
<font style="color:#1F61A0;">field</font>
<font style="color:#1F61A0;">message</font>
<font style="color:#555555;">}</font>
Arguments
Argument | Description |
---|---|
id ( [ID!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-unstable) ) REQUIRED |
The refund session ID. |
Return fields
- refundSession (
[RefundSession](https://shopify.dev/docs/admin-api/graphql/reference/orders/refundsession)
)
The updated refund session. - userErrors (
[[RefundSessionResolveUserError!]!](https://shopify.dev/docs/admin-api/graphql/reference/orders/refundsessionresolveusererror)
)
List of errors that occurred executing the mutation.