--- title: ReturnUserError - Customer API description: The errors that occur during the execution of a return mutation. api_version: 2025-04 api_name: customer type: object api_type: graphql source_url: html: https://shopify.dev/docs/api/customer/2025-04/objects/returnusererror md: https://shopify.dev/docs/api/customer/2025-04/objects/returnusererror.md --- # 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/2025-04/enums/ReturnErrorCode) The error code. * field [\[String!\]](https://shopify.dev/docs/api/customer/2025-04/scalars/String) The path to the input field that caused the error. * message [String!](https://shopify.dev/docs/api/customer/2025-04/scalars/String) non-null The error message. *** ## Map No referencing types *** ## Mutations * [order​Request​Return](https://shopify.dev/docs/api/customer/2025-04/mutations/orderRequestReturn) mutation Request a new return on behalf of a customer. * order​Id [ID!](https://shopify.dev/docs/api/customer/2025-04/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/2025-04/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/2025-04/mutations/orderRequestReturn) *** ## Interfaces * [Displayable​Error](https://shopify.dev/docs/api/customer/2025-04/interfaces/DisplayableError) interface *** ## ||-ReturnUserError Implements ### Implements * ||-[Displayable​Error](https://shopify.dev/docs/api/customer/2025-04/interfaces/DisplayableError)