stack

Home > @infiniteobjects/shopify-data-manager > AdminTypes > QuantityRuleUserErrorCode

AdminTypes.QuantityRuleUserErrorCode enum

Possible error codes that can be returned by QuantityRuleUserError.

Signature:

export declare enum QuantityRuleUserErrorCode 

Enumeration Members

Member Value Description
Blank "BLANK" The input value is blank.
CatalogContextDoesNotSupportQuantityRules "CATALOG_CONTEXT_DOES_NOT_SUPPORT_QUANTITY_RULES" Quantity rules can be associated only with company location catalogs.
DuplicateInputForVariant "DUPLICATE_INPUT_FOR_VARIANT" Quantity rule inputs must be unique by variant id.
GenericError "GENERIC_ERROR" Something went wrong when trying to save the quantity rule. Please try again later.
GreaterThanOrEqualTo "GREATER_THAN_OR_EQUAL_TO" Value must be greater than or equal to 1.
IncrementIsGreaterThanMinimum "INCREMENT_IS_GREATER_THAN_MINIMUM" Increment must be lower than or equal to the minimum.
IncrementNotAMultipleOfQuantityPriceBreakMinimum "INCREMENT_NOT_A_MULTIPLE_OF_QUANTITY_PRICE_BREAK_MINIMUM" Increment must be a multiple of all quantity price break minimums associated with this variant in the specified price list.
MaximumIsLowerThanQuantityPriceBreakMinimum "MAXIMUM_IS_LOWER_THAN_QUANTITY_PRICE_BREAK_MINIMUM" Maximum must be greater than or equal to all quantity price break minimums associated with this variant in the specified price list.
MaximumNotMultipleOfIncrement "MAXIMUM_NOT_MULTIPLE_OF_INCREMENT" The maximum must be a multiple of the increment.
MinimumIsGreaterThanMaximum "MINIMUM_IS_GREATER_THAN_MAXIMUM" Minimum must be lower than or equal to the maximum.
MinimumIsHigherThanQuantityPriceBreakMinimum "MINIMUM_IS_HIGHER_THAN_QUANTITY_PRICE_BREAK_MINIMUM" Minimum must be less than or equal to all quantity price break minimums associated with this variant in the specified price list.
MinimumNotMultipleOfIncrement "MINIMUM_NOT_MULTIPLE_OF_INCREMENT" The minimum must be a multiple of the increment.
PriceListDoesNotExist "PRICE_LIST_DOES_NOT_EXIST" Price list does not exist.
ProductVariantDoesNotExist "PRODUCT_VARIANT_DOES_NOT_EXIST" Product variant ID does not exist.
VariantQuantityRuleDoesNotExist "VARIANT_QUANTITY_RULE_DOES_NOT_EXIST" Quantity rule for variant associated with the price list provided does not exist.