Home > @infiniteobjects/shopify-data-manager > AdminTypes > PriceListUserErrorCode
Possible error codes that can be returned by PriceListUserError
.
Signature:
export declare enum PriceListUserErrorCode
Member | Value | Description |
---|---|---|
AppCatalogPriceListAssignment | "APP_CATALOG_PRICE_LIST_ASSIGNMENT" |
An app catalog cannot be assigned to a price list. |
Blank | "BLANK" |
The input value is blank. |
CatalogAssignmentNotAllowed | "CATALOG_ASSIGNMENT_NOT_ALLOWED" |
Cannot assign a catalog to a price list that also has context rules. |
CatalogCannotChangeContextType | "CATALOG_CANNOT_CHANGE_CONTEXT_TYPE" |
The context type of a catalog cannot be changed. |
CatalogContextDoesNotSupportQuantityPriceBreaks | "CATALOG_CONTEXT_DOES_NOT_SUPPORT_QUANTITY_PRICE_BREAKS" |
Quantity price breaks can be associated only with company location catalogs. |
CatalogContextDoesNotSupportQuantityRules | "CATALOG_CONTEXT_DOES_NOT_SUPPORT_QUANTITY_RULES" |
Quantity rules can be associated only with company location catalogs. |
CatalogDoesNotExist | "CATALOG_DOES_NOT_EXIST" |
The specified catalog does not exist. |
CatalogMarketAndPriceListCurrencyMismatch | "CATALOG_MARKET_AND_PRICE_LIST_CURRENCY_MISMATCH" |
The price list currency must match the market catalog currency. |
CatalogTaken | "CATALOG_TAKEN" |
Catalog has a price list already assigned. |
ContextRuleCountriesLimit | "CONTEXT_RULE_COUNTRIES_LIMIT" |
A price list context rule cannot have more than one country. |
ContextRuleCountryTaken | "CONTEXT_RULE_COUNTRY_TAKEN" |
A price list for this country is already taken. |
ContextRuleLimitOneOption | "CONTEXT_RULE_LIMIT_ONE_OPTION" |
Only one context rule option may be specified. |
ContextRuleLimitReached | "CONTEXT_RULE_LIMIT_REACHED" |
Cannot save the price list with context rule because the limit of context rules per shop was reached. |
ContextRuleMarketNotFound | "CONTEXT_RULE_MARKET_NOT_FOUND" |
The specified market wasn’t found. |
ContextRuleMarketTaken | "CONTEXT_RULE_MARKET_TAKEN" |
A price list for this market is already taken. |
CountryCurrencyMismatch | "COUNTRY_CURRENCY_MISMATCH" |
A country in a context rule must use a valid currency. |
CountryPriceListAssignment | "COUNTRY_PRICE_LIST_ASSIGNMENT" |
A country catalog cannot be assigned to a price list. |
CurrencyCountryMismatch | "CURRENCY_COUNTRY_MISMATCH" |
A price list’s currency must be of the pricing rule’s country. |
CurrencyMarketMismatch | "CURRENCY_MARKET_MISMATCH" |
A price list’s currency must be the market currency. |
CurrencyNotSupported | "CURRENCY_NOT_SUPPORTED" |
The price list currency is not supported by the shop’s payment gateway. |
GenericError | "GENERIC_ERROR" |
Something went wrong when trying to save the price list. Please try again. |
Inclusion | "INCLUSION" |
The input value isn’t included in the list. |
InvalidAdjustmentMaxValue | "INVALID_ADJUSTMENT_MAX_VALUE" |
The adjustment value must not be greater than 1000% for type PERCENTAGE_INCREASE . |
InvalidAdjustmentMinValue | "INVALID_ADJUSTMENT_MIN_VALUE" |
The adjustment value must not be greater than 100% for type PERCENTAGE_DECREASE . |
InvalidAdjustmentValue | "INVALID_ADJUSTMENT_VALUE" |
The adjustment value must be a positive value and not be greater than 100% for type PERCENTAGE_DECREASE and not be greater than 1000% for type PERCENTAGE_INCREASE . |
MarketCurrencyMismatch | "MARKET_CURRENCY_MISMATCH" |
The context rule’s market does not use the price list currency. |
PriceListLocked | "PRICE_LIST_LOCKED" |
The price list is currently being modified. Please try again later. |
PriceListNotAllowedForPrimaryMarket | "PRICE_LIST_NOT_ALLOWED_FOR_PRIMARY_MARKET" |
Cannot create price list for a primary market. |
PriceListNotFound | "PRICE_LIST_NOT_FOUND" |
The specified price list doesn’t exist. |
Taken | "TAKEN" |
The input value is already taken. |
TooLong | "TOO_LONG" |
The input value is too long. |