--- title: OrderEditRemoveDiscountUserError - GraphQL Admin description: An error that occurs during the execution of `OrderEditRemoveDiscount`. api_version: unstable api_name: admin source_url: html: >- https://shopify.dev/docs/api/admin-graphql/unstable/objects/OrderEditRemoveDiscountUserError md: >- https://shopify.dev/docs/api/admin-graphql/unstable/objects/OrderEditRemoveDiscountUserError.md --- # Order​Edit​Remove​Discount​User​Error object An error that occurs during the execution of `OrderEditRemoveDiscount`. ## Fields * code [Order​Edit​Remove​Discount​User​Error​Code](https://shopify.dev/docs/api/admin-graphql/unstable/enums/OrderEditRemoveDiscountUserErrorCode) The error code. * field [\[String!\]](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/String) The path to the input field that caused the error. * message [String!](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/String) non-null The error message. *** ## Map No referencing types *** ## Mutations * [order​Edit​Remove​Discount](https://shopify.dev/docs/api/admin-graphql/unstable/mutations/orderEditRemoveDiscount) mutation Removes a discount on the current order edit. For more information on how to use the GraphQL Admin API to edit an existing order, refer to [Edit existing orders](https://shopify.dev/apps/fulfillment/order-management-apps/order-editing). *** ## <\~> OrderEditRemoveDiscountUserError Mutations ### Mutated by * <\~>[order​Edit​Remove​Discount](https://shopify.dev/docs/api/admin-graphql/unstable/mutations/orderEditRemoveDiscount) *** ## Interfaces * [Displayable​Error](https://shopify.dev/docs/api/admin-graphql/unstable/interfaces/DisplayableError) interface *** ## ||-OrderEditRemoveDiscountUserError Implements ### Implements * ||-[Displayable​Error](https://shopify.dev/docs/api/admin-graphql/unstable/interfaces/DisplayableError)