Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

Anchor to QuantityRuleUserErrorCode

QuantityRuleUserErrorCode

enum

Possible error codes that can be returned by QuantityRuleUserError.

•

The input value is blank.

Anchor to CATALOG_CONTEXT_DOES_NOT_SUPPORT_QUANTITY_RULESCATALOG_CONTEXT_DOES_NOT_SUPPORT_QUANTITY_RULES
•

Quantity rules can be associated only with company location catalogs.

Anchor to DUPLICATE_INPUT_FOR_VARIANTDUPLICATE_INPUT_FOR_VARIANT
•

Quantity rule inputs must be unique by variant id.

•

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

Anchor to GREATER_THAN_OR_EQUAL_TOGREATER_THAN_OR_EQUAL_TO
•

Value must be greater than or equal to 1.

Anchor to INCREMENT_IS_GREATER_THAN_MINIMUMINCREMENT_IS_GREATER_THAN_MINIMUM
•

Increment must be lower than or equal to the minimum.

Anchor to INCREMENT_NOT_A_MULTIPLE_OF_QUANTITY_PRICE_BREAK_MINIMUMINCREMENT_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.

Anchor to MAXIMUM_IS_LOWER_THAN_QUANTITY_PRICE_BREAK_MINIMUMMAXIMUM_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.

Anchor to MAXIMUM_NOT_MULTIPLE_OF_INCREMENTMAXIMUM_NOT_MULTIPLE_OF_INCREMENT
•

The maximum must be a multiple of the increment.

Anchor to MINIMUM_IS_GREATER_THAN_MAXIMUMMINIMUM_IS_GREATER_THAN_MAXIMUM
•

Minimum must be lower than or equal to the maximum.

Anchor to MINIMUM_IS_HIGHER_THAN_QUANTITY_PRICE_BREAK_MINIMUMMINIMUM_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.

Anchor to MINIMUM_NOT_MULTIPLE_OF_INCREMENTMINIMUM_NOT_MULTIPLE_OF_INCREMENT
•

The minimum must be a multiple of the increment.

Anchor to PRICE_LIST_DOES_NOT_EXISTPRICE_LIST_DOES_NOT_EXIST
•

Price list does not exist.

Anchor to PRODUCT_VARIANT_DOES_NOT_EXISTPRODUCT_VARIANT_DOES_NOT_EXIST
•

Product variant ID does not exist.

Anchor to VARIANT_QUANTITY_RULE_DOES_NOT_EXISTVARIANT_QUANTITY_RULE_DOES_NOT_EXIST
•

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


Was this section helpful?


Was this section helpful?