DiscountErrorCode - admin-graphql - ENUM
Version: 2025-01
Description:
Possible error codes that can be returned by `DiscountUserError`.
Access Scopes
Enum values
ACTIVE_PERIOD_OVERLAP
BLANK
CONFLICT
DUPLICATE
EQUAL_TO
EXCEEDED_MAX
GREATER_THAN
GREATER_THAN_OR_EQUAL_TO
IMPLICIT_DUPLICATE
INCLUSION
INTERNAL_ERROR
INVALID
INVALID_COMBINES_WITH_FOR_DISCOUNT_CLASS
INVALID_DISCOUNT_CLASS_FOR_PRICE_RULE
LESS_THAN
LESS_THAN_OR_EQUAL_TO
MAX_APP_DISCOUNTS
MINIMUM_SUBTOTAL_AND_QUANTITY_RANGE_BOTH_PRESENT
MISSING_ARGUMENT
PRESENT
TAKEN
TOO_LONG
TOO_MANY_ARGUMENTS
TOO_SHORT
VALUE_OUTSIDE_RANGE
Fields with this enum
DiscountUserError.code
Examples