Home > @infiniteobjects/shopify-data-manager > AdminTypes > QuantityPricingByVariantUserErrorCode
Possible error codes that can be returned by QuantityPricingByVariantUserError.
Signature:
export declare enum QuantityPricingByVariantUserErrorCode
| Member | Value | Description |
|---|---|---|
| Blank | "BLANK" |
The input value is blank. |
| GenericError | "GENERIC_ERROR" |
Something went wrong when trying to update quantity pricing. Please try again later. |
| PriceAddCurrencyMismatch | "PRICE_ADD_CURRENCY_MISMATCH" |
Price list and fixed price currency mismatch. |
| PriceAddDuplicateInputForVariant | "PRICE_ADD_DUPLICATE_INPUT_FOR_VARIANT" |
Prices to add inputs must be unique by variant id. |
| PriceAddVariantNotFound | "PRICE_ADD_VARIANT_NOT_FOUND" |
Fixed price’s variant not found. |
| PriceDeletePriceNotFixed | "PRICE_DELETE_PRICE_NOT_FIXED" |
Price is not fixed. |
| PriceDeleteVariantNotFound | "PRICE_DELETE_VARIANT_NOT_FOUND" |
Fixed price’s variant not found. |
| PriceListNotFound | "PRICE_LIST_NOT_FOUND" |
Price List does not exist. |
| QuantityPriceBreakAddCurrencyMismatch | "QUANTITY_PRICE_BREAK_ADD_CURRENCY_MISMATCH" |
Price list and quantity price break currency mismatch. |
| 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. |
| QuantityPriceBreakAddFailedToSave | "QUANTITY_PRICE_BREAK_ADD_FAILED_TO_SAVE" |
Failed to save quantity price break. |
| QuantityPriceBreakAddInvalid | "QUANTITY_PRICE_BREAK_ADD_INVALID" |
Invalid quantity price break. |
| QuantityPriceBreakAddLimitExceeded | "QUANTITY_PRICE_BREAK_ADD_LIMIT_EXCEEDED" |
Exceeded the allowed number of quantity price breaks per variant. |
| QuantityPriceBreakAddMinHigherThanQuantityRulesMax | "QUANTITY_PRICE_BREAK_ADD_MIN_HIGHER_THAN_QUANTITY_RULES_MAX" |
Quantity price break miniumum is higher than the quantity rule maximum. |
| QuantityPriceBreakAddMinLowerThanQuantityRulesMin | "QUANTITY_PRICE_BREAK_ADD_MIN_LOWER_THAN_QUANTITY_RULES_MIN" |
Quantity price break miniumum is less than the quantity rule minimum. |
| 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. |
| QuantityPriceBreakAddPriceListPriceNotFound | "QUANTITY_PRICE_BREAK_ADD_PRICE_LIST_PRICE_NOT_FOUND" |
Quantity price break’s fixed price not found. |
| QuantityPriceBreakAddVariantNotFound | "QUANTITY_PRICE_BREAK_ADD_VARIANT_NOT_FOUND" |
Quantity price break variant not found. |
| QuantityPriceBreakDeleteFailed | "QUANTITY_PRICE_BREAK_DELETE_FAILED" |
Failed to delete quantity price break. |
| QuantityPriceBreakDeleteNotFound | "QUANTITY_PRICE_BREAK_DELETE_NOT_FOUND" |
Quantity price break not found. |
| QuantityRuleAddCatalogContextNotSupported | "QUANTITY_RULE_ADD_CATALOG_CONTEXT_NOT_SUPPORTED" |
Quantity rule catalog context not supported. |
| QuantityRuleAddDuplicateInputForVariant | "QUANTITY_RULE_ADD_DUPLICATE_INPUT_FOR_VARIANT" |
Quantity rules to add inputs must be unique by variant id. |
| QuantityRuleAddIncrementIsGreaterThanMinimum | "QUANTITY_RULE_ADD_INCREMENT_IS_GREATER_THAN_MINIMUM" |
Quantity rule increment is greater than minimum. |
| QuantityRuleAddIncrementIsLessThanOne | "QUANTITY_RULE_ADD_INCREMENT_IS_LESS_THAN_ONE" |
Quantity rule increment is less than one. |
| 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. |
| QuantityRuleAddMaximumIsLessThanOne | "QUANTITY_RULE_ADD_MAXIMUM_IS_LESS_THAN_ONE" |
Quantity rule maximum is less than one. |
| QuantityRuleAddMaximumNotAMultipleOfIncrement | "QUANTITY_RULE_ADD_MAXIMUM_NOT_A_MULTIPLE_OF_INCREMENT" |
Quantity rule maximum is not a multiple of increment. |
| QuantityRuleAddMaxLowerThanQuantityPriceBreakMin | "QUANTITY_RULE_ADD_MAX_LOWER_THAN_QUANTITY_PRICE_BREAK_MIN" |
Quantity rule maximum is less than the quantity price break minimum. |
| QuantityRuleAddMinHigherThanQuantityPriceBreakMin | "QUANTITY_RULE_ADD_MIN_HIGHER_THAN_QUANTITY_PRICE_BREAK_MIN" |
Quantity rule minimum is higher than the quantity price break minimum. |
| QuantityRuleAddMinimumGreaterThanMaximum | "QUANTITY_RULE_ADD_MINIMUM_GREATER_THAN_MAXIMUM" |
Quantity rule minimum is greater than maximum. |
| QuantityRuleAddMinimumIsLessThanOne | "QUANTITY_RULE_ADD_MINIMUM_IS_LESS_THAN_ONE" |
Quantity rule minimum is less than one. |
| QuantityRuleAddMinimumNotAMultipleOfIncrement | "QUANTITY_RULE_ADD_MINIMUM_NOT_A_MULTIPLE_OF_INCREMENT" |
Quantity rule minimum is not a multiple of increment. |
| QuantityRuleAddVariantNotFound | "QUANTITY_RULE_ADD_VARIANT_NOT_FOUND" |
Quantity rule variant not found. |
| QuantityRuleDeleteRuleNotFound | "QUANTITY_RULE_DELETE_RULE_NOT_FOUND" |
Quantity rule not found. |
| QuantityRuleDeleteVariantNotFound | "QUANTITY_RULE_DELETE_VARIANT_NOT_FOUND" |
Quantity rule variant not found. |