Anchor to returnClosereturn
returnClose
mutation
Requires access scope. Also: The user must have
permission.
Indicates a return is complete, either when a refund has been made and items restocked, or simply when it has been marked as returned in the system.
Anchor to ReturnClosePayload returnsReturnClosePayload returns
- Anchor to returnreturn•
The closed return.
- Anchor to userErrorsuser•
Errors [ReturnUser non-nullError!]! The list of errors that occurred from executing the mutation.
Was this section helpful?
Mutation Reference
1mutation returnClose($id: ID!) {2 returnClose(id: $id) {3 return {4 # Return fields5 }6 userErrors {7 field8 message9 }10 }11}
Input
1{2 "id": "gid://shopify/<objectName>/10079785100"3}
{
"id": "gid://shopify/<objectName>/10079785100"
}