Anchor to section titled 'undefined'

PriceListUserErrorCode
enum

Possible error codes that can be returned by PriceListUserError.


value-appcatalogpricelistassignment
APP_CATALOG_PRICE_LIST_ASSIGNMENT

An app catalog cannot be assigned to a price list.

The input value is blank.

value-catalogassignmentnotallowed
CATALOG_ASSIGNMENT_NOT_ALLOWED

Cannot assign a catalog to a price list that also has context rules.

value-catalogcannotchangecontexttype
CATALOG_CANNOT_CHANGE_CONTEXT_TYPE

The context type of a catalog cannot be changed.

value-catalogcontextdoesnotsupportquantitypricebreaks
CATALOG_CONTEXT_DOES_NOT_SUPPORT_QUANTITY_PRICE_BREAKS

Quantity price breaks can be associated only with company location catalogs.

value-catalogcontextdoesnotsupportquantityrules
CATALOG_CONTEXT_DOES_NOT_SUPPORT_QUANTITY_RULES

Quantity rules can be associated only with company location catalogs.

value-catalogdoesnotexist
CATALOG_DOES_NOT_EXIST

The specified catalog does not exist.

value-catalogmarketandpricelistcurrencymismatch
CATALOG_MARKET_AND_PRICE_LIST_CURRENCY_MISMATCH

The price list currency must match the market catalog currency.

value-catalogtaken
CATALOG_TAKEN

Catalog has a price list already assigned.

value-contextrulecountrieslimit
CONTEXT_RULE_COUNTRIES_LIMIT

A price list context rule cannot have more than one country.

value-contextrulecountrytaken
CONTEXT_RULE_COUNTRY_TAKEN

A price list for this country is already taken.

value-contextrulelimitoneoption
CONTEXT_RULE_LIMIT_ONE_OPTION

Only one context rule option may be specified.

value-contextrulemarketnotfound
CONTEXT_RULE_MARKET_NOT_FOUND

The specified market wasn't found.

value-contextrulemarkettaken
CONTEXT_RULE_MARKET_TAKEN

A price list for this market is already taken.

value-countrycurrencymismatch
COUNTRY_CURRENCY_MISMATCH

A country in a context rule must use a valid currency.

value-countrypricelistassignment
COUNTRY_PRICE_LIST_ASSIGNMENT

A country catalog cannot be assigned to a price list.

value-currencycountrymismatch
CURRENCY_COUNTRY_MISMATCH

A price list’s currency must be of the pricing rule’s country.

value-currencymarketmismatch
CURRENCY_MARKET_MISMATCH

A price list’s currency must be the market currency.

value-currencynotsupported
CURRENCY_NOT_SUPPORTED

The price list currency is not supported by the shop's payment gateway.

value-genericerror
GENERIC_ERROR

Something went wrong when trying to save the price list. Please try again.

The input value isn't included in the list.

value-invalidadjustmentmaxvalue
INVALID_ADJUSTMENT_MAX_VALUE

The adjustment value must not be greater than 1000% for type PERCENTAGE_INCREASE.

value-invalidadjustmentminvalue
INVALID_ADJUSTMENT_MIN_VALUE

The adjustment value must not be greater than 100% for type PERCENTAGE_DECREASE.

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

value-marketcurrencymismatch
MARKET_CURRENCY_MISMATCH

The context rule's market does not use the price list currency.

value-pricelistlocked
PRICE_LIST_LOCKED

The price list is currently being modified. Please try again later.

value-pricelistnotallowedforprimarymarket
PRICE_LIST_NOT_ALLOWED_FOR_PRIMARY_MARKET

Cannot create price list for a primary market.

value-pricelistnotfound
PRICE_LIST_NOT_FOUND

The specified price list doesn't exist.

The input value is already taken.

The input value is too long.

value-contextrulelimitreached
CONTEXT_RULE_LIMIT_REACHED
deprecated

Cannot save the price list with context rule because the limit of context rules per shop was reached. The limit is removed.


Was this section helpful?

The error code.


Was this section helpful?
Map
PriceListUserErrorCode

Fields from