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
mutation returnClose($id: ID!) {
returnClose(id: $id) {
return {
# Return fields
}
userErrors {
field
message
}
}
}
Input
{
"id": "gid://shopify/<objectName>/10079785100"
}
{
"id": "gid://shopify/<objectName>/10079785100"
}