# OrderEditRemoveDiscountUserError - admin-graphql - OBJECT Version: 2024-10 ## Description An error that occurs during the execution of `OrderEditRemoveDiscount`. ### Access Scopes ## Fields * [code](/docs/api/admin-graphql/2024-10/enums/OrderEditRemoveDiscountUserErrorCode): OrderEditRemoveDiscountUserErrorCode - The error code. * [field](/docs/api/admin-graphql/2024-10/scalars/String): String - The path to the input field that caused the error. * [message](/docs/api/admin-graphql/2024-10/scalars/String): String! - The error message. ## Connections ## Related queries ## Related mutations * [orderEditRemoveDiscount](/docs/api/admin-graphql/2024-10/mutations/orderEditRemoveDiscount) 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). ## Related Unions ## Examples