---
title: ReturnUserError - Customer API
description: The errors that occur during the execution of a return mutation.
api_version: 2026-10
source_url:
  html: 'https://shopify.dev/docs/api/customer/latest/objects/ReturnUserError'
  md: 'https://shopify.dev/docs/api/customer/latest/objects/ReturnUserError.md'
api_name: customer
api_type: graphql
type: object
---

# Return​User​Error

object

The errors that occur during the execution of a return mutation.

## Fields

* code

  [Return​Error​Code](https://shopify.dev/docs/api/customer/latest/enums/ReturnErrorCode)

  The error code.

* field

  [\[String!\]](https://shopify.dev/docs/api/customer/latest/scalars/String)

  The path to the input field that caused the error.

* message

  [String!](https://shopify.dev/docs/api/customer/latest/scalars/String)

  non-null

  The error message.

***

## Map

No referencing types

***

## Mutations

* [order​Request​Return](https://shopify.dev/docs/api/customer/latest/mutations/orderRequestReturn)

  mutation

  Request a new return on behalf of a customer.

  * order​Id

    [ID!](https://shopify.dev/docs/api/customer/latest/scalars/ID)

    required

    ### Arguments

    The ID of the order for which this return is being requested.

  * requested​Line​Items

    [\[Requested​Line​Item​Input!\]!](https://shopify.dev/docs/api/customer/latest/input-objects/RequestedLineItemInput)

    required

    The line items that are requested to be returned.

  ***

***

## ReturnUserError Mutations

### Mutated by

* [order​Request​Return](https://shopify.dev/docs/api/customer/latest/mutations/orderRequestReturn)

***

## Interfaces

* [Displayable​Error](https://shopify.dev/docs/api/customer/latest/interfaces/DisplayableError)

  interface

***

## ReturnUserError Implements

### Implements

* [Displayable​Error](https://shopify.dev/docs/api/customer/latest/interfaces/DisplayableError)
