--- title: OrderEditUpdateDiscountUserErrorCode - GraphQL Admin description: >- Possible error codes that can be returned by `OrderEditUpdateDiscountUserError`. api_version: unstable api_name: admin source_url: html: >- https://shopify.dev/docs/api/admin-graphql/unstable/enums/OrderEditUpdateDiscountUserErrorCode md: >- https://shopify.dev/docs/api/admin-graphql/unstable/enums/OrderEditUpdateDiscountUserErrorCode.md --- # 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/unstable/objects/OrderEditUpdateDiscountUserError#field-OrderEditUpdateDiscountUserError.fields.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/unstable/objects/OrderEditUpdateDiscountUserError#field-OrderEditUpdateDiscountUserError.fields.code)