Anchor to section titled 'undefined'

QuantityRuleUserErrorCode
enum

Possible error codes that can be returned by QuantityRuleUserError.


The input value is blank.

value-catalogcontextdoesnotsupportquantityrules
CATALOG_CONTEXT_DOES_NOT_SUPPORT_QUANTITY_RULES

Quantity rules can be associated only with company location catalogs.

value-duplicateinputforvariant
DUPLICATE_INPUT_FOR_VARIANT

Quantity rule inputs must be unique by variant id.

value-genericerror
GENERIC_ERROR

Something went wrong when trying to save the quantity rule. Please try again later.

value-greaterthanorequalto
GREATER_THAN_OR_EQUAL_TO

Value must be greater than or equal to 1.

value-incrementisgreaterthanminimum
INCREMENT_IS_GREATER_THAN_MINIMUM

Increment must be lower than or equal to the minimum.

value-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.

value-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.

value-maximumnotmultipleofincrement
MAXIMUM_NOT_MULTIPLE_OF_INCREMENT

The maximum must be a multiple of the increment.

value-minimumisgreaterthanmaximum
MINIMUM_IS_GREATER_THAN_MAXIMUM

Minimum must be lower than or equal to the maximum.

value-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.

value-minimumnotmultipleofincrement
MINIMUM_NOT_MULTIPLE_OF_INCREMENT

The minimum must be a multiple of the increment.

value-pricelistdoesnotexist
PRICE_LIST_DOES_NOT_EXIST

Price list does not exist.

value-productvariantdoesnotexist
PRODUCT_VARIANT_DOES_NOT_EXIST

Product variant ID does not exist.

value-variantquantityruledoesnotexist
VARIANT_QUANTITY_RULE_DOES_NOT_EXIST

Quantity rule for variant associated with the price list provided does not exist.


Was this section helpful?

The error code.


Was this section helpful?
Map
QuantityRuleUserErrorCode

Fields from