--- title: OrderEditUpdateDiscountUserErrorCode - GraphQL Admin description: >- Possible error codes that can be returned by `OrderEditUpdateDiscountUserError`. api_version: 2024-10 api_name: admin type: enum api_type: graphql source_url: html: >- https://shopify.dev/docs/api/admin-graphql/2024-10/enums/OrderEditUpdateDiscountUserErrorCode md: >- https://shopify.dev/docs/api/admin-graphql/2024-10/enums/OrderEditUpdateDiscountUserErrorCode.txt --- # Order​Edit​Update​Discount​User​Error​Code enum Possible error codes that can be returned by `OrderEditUpdateDiscountUserError`. ## Valid values * INVALID The input value is invalid. *** ## Fields * [Order​Edit​Update​Discount​User​Error.​code](https://shopify.dev/docs/api/admin-graphql/2024-10/objects/OrderEditUpdateDiscountUserError#field-code) OBJECT An error that occurs during the execution of `OrderEditUpdateDiscount`. *** ## Map ### Fields with this enum * <-|[Order​Edit​Update​Discount​User​Error.code](https://shopify.dev/docs/api/admin-graphql/2024-10/objects/OrderEditUpdateDiscountUserError#field-code)