# OrderEditUpdateDiscountUserError - admin-graphql - OBJECT Version: 2024-10 ## Description An error that occurs during the execution of `OrderEditUpdateDiscount`. ### Access Scopes ## Fields * [code](/docs/api/admin-graphql/2024-10/enums/OrderEditUpdateDiscountUserErrorCode): OrderEditUpdateDiscountUserErrorCode - 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 * [orderEditUpdateDiscount](/docs/api/admin-graphql/2024-10/mutations/orderEditUpdateDiscount) Updates a manual line level 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