Anchor to section titled 'undefined'

QuantityPricingByVariantUserErrorCode
enum

Possible error codes that can be returned by QuantityPricingByVariantUserError.


The input value is blank.

value-genericerror
GENERIC_ERROR

Something went wrong when trying to update quantity pricing. Please try again later.

value-priceaddcurrencymismatch
PRICE_ADD_CURRENCY_MISMATCH

Price list and fixed price currency mismatch.

value-priceaddduplicateinputforvariant
PRICE_ADD_DUPLICATE_INPUT_FOR_VARIANT

Prices to add inputs must be unique by variant id.

value-priceaddvariantnotfound
PRICE_ADD_VARIANT_NOT_FOUND

Fixed price's variant not found.

value-pricedeletepricenotfixed
PRICE_DELETE_PRICE_NOT_FIXED

Price is not fixed.

value-pricedeletevariantnotfound
PRICE_DELETE_VARIANT_NOT_FOUND

Fixed price's variant not found.

value-pricelistnotfound
PRICE_LIST_NOT_FOUND

Price List does not exist.

value-quantitypricebreakaddcurrencymismatch
QUANTITY_PRICE_BREAK_ADD_CURRENCY_MISMATCH

Price list and quantity price break currency mismatch.

value-quantitypricebreakaddduplicateinputforvariantandmin
QUANTITY_PRICE_BREAK_ADD_DUPLICATE_INPUT_FOR_VARIANT_AND_MIN

Quantity price breaks to add inputs must be unique by variant id and minimum quantity.

value-quantitypricebreakaddfailedtosave
QUANTITY_PRICE_BREAK_ADD_FAILED_TO_SAVE

Failed to save quantity price break.

value-quantitypricebreakaddinvalid
QUANTITY_PRICE_BREAK_ADD_INVALID

Invalid quantity price break.

value-quantitypricebreakaddlimitexceeded
QUANTITY_PRICE_BREAK_ADD_LIMIT_EXCEEDED

Exceeded the allowed number of quantity price breaks per variant.

value-quantitypricebreakaddminhigherthanquantityrulesmax
QUANTITY_PRICE_BREAK_ADD_MIN_HIGHER_THAN_QUANTITY_RULES_MAX

Quantity price break miniumum is higher than the quantity rule maximum.

value-quantitypricebreakaddminlowerthanquantityrulesmin
QUANTITY_PRICE_BREAK_ADD_MIN_LOWER_THAN_QUANTITY_RULES_MIN

Quantity price break miniumum is less than the quantity rule minimum.

value-quantitypricebreakaddminnotamultipleofquantityrulesincrement
QUANTITY_PRICE_BREAK_ADD_MIN_NOT_A_MULTIPLE_OF_QUANTITY_RULES_INCREMENT

Quantity price break miniumum is not multiple of the quantity rule increment.

value-quantitypricebreakaddpricelistpricenotfound
QUANTITY_PRICE_BREAK_ADD_PRICE_LIST_PRICE_NOT_FOUND

Quantity price break's fixed price not found.

value-quantitypricebreakaddvariantnotfound
QUANTITY_PRICE_BREAK_ADD_VARIANT_NOT_FOUND

Quantity price break variant not found.

value-quantitypricebreakdeletefailed
QUANTITY_PRICE_BREAK_DELETE_FAILED

Failed to delete quantity price break.

value-quantitypricebreakdeletenotfound
QUANTITY_PRICE_BREAK_DELETE_NOT_FOUND

Quantity price break not found.

value-quantityruleaddcatalogcontextnotsupported
QUANTITY_RULE_ADD_CATALOG_CONTEXT_NOT_SUPPORTED

Quantity rule catalog context not supported.

value-quantityruleaddduplicateinputforvariant
QUANTITY_RULE_ADD_DUPLICATE_INPUT_FOR_VARIANT

Quantity rules to add inputs must be unique by variant id.

value-quantityruleaddincrementisgreaterthanminimum
QUANTITY_RULE_ADD_INCREMENT_IS_GREATER_THAN_MINIMUM

Quantity rule increment is greater than minimum.

value-quantityruleaddincrementislessthanone
QUANTITY_RULE_ADD_INCREMENT_IS_LESS_THAN_ONE

Quantity rule increment is less than one.

value-quantityruleaddincrementnotamultipleofquantitypricebreakmin
QUANTITY_RULE_ADD_INCREMENT_NOT_A_MULTIPLE_OF_QUANTITY_PRICE_BREAK_MIN

Quantity rule increment must be a multiple of the quantity price break minimum.

value-quantityruleaddmaximumislessthanone
QUANTITY_RULE_ADD_MAXIMUM_IS_LESS_THAN_ONE

Quantity rule maximum is less than one.

value-quantityruleaddmaximumnotamultipleofincrement
QUANTITY_RULE_ADD_MAXIMUM_NOT_A_MULTIPLE_OF_INCREMENT

Quantity rule maximum is not a multiple of increment.

value-quantityruleaddmaxlowerthanquantitypricebreakmin
QUANTITY_RULE_ADD_MAX_LOWER_THAN_QUANTITY_PRICE_BREAK_MIN

Quantity rule maximum is less than the quantity price break minimum.

value-quantityruleaddminimumgreaterthanmaximum
QUANTITY_RULE_ADD_MINIMUM_GREATER_THAN_MAXIMUM

Quantity rule minimum is greater than maximum.

value-quantityruleaddminimumislessthanone
QUANTITY_RULE_ADD_MINIMUM_IS_LESS_THAN_ONE

Quantity rule minimum is less than one.

value-quantityruleaddminimumnotamultipleofincrement
QUANTITY_RULE_ADD_MINIMUM_NOT_A_MULTIPLE_OF_INCREMENT

Quantity rule minimum is not a multiple of increment.

value-quantityruleaddminhigherthanquantitypricebreakmin
QUANTITY_RULE_ADD_MIN_HIGHER_THAN_QUANTITY_PRICE_BREAK_MIN

Quantity rule minimum is higher than the quantity price break minimum.

value-quantityruleaddvariantnotfound
QUANTITY_RULE_ADD_VARIANT_NOT_FOUND

Quantity rule variant not found.

value-quantityruledeleterulenotfound
QUANTITY_RULE_DELETE_RULE_NOT_FOUND

Quantity rule not found.

value-quantityruledeletevariantnotfound
QUANTITY_RULE_DELETE_VARIANT_NOT_FOUND

Quantity rule variant not found.


Was this section helpful?

The error code.


Was this section helpful?
Map
QuantityPricingByVariantUserErrorCode