Skip to main content
Log inSign up
Anchor to PriceListUserErrorCode

PriceListUserErrorCode

enum

Possible error codes that can be returned by PriceListUserError.

Anchor to APP_CATALOG_PRICE_LIST_ASSIGNMENTAPP_CATALOG_PRICE_LIST_ASSIGNMENT
•

An app catalog cannot be assigned to a price list.

•

The input value is blank.

Anchor to CATALOG_ASSIGNMENT_NOT_ALLOWEDCATALOG_ASSIGNMENT_NOT_ALLOWED
•

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

Anchor to CATALOG_CANNOT_CHANGE_CONTEXT_TYPECATALOG_CANNOT_CHANGE_CONTEXT_TYPE
•

The context type of a catalog cannot be changed.

Anchor to CATALOG_CONTEXT_DOES_NOT_SUPPORT_QUANTITY_PRICE_BREAKSCATALOG_CONTEXT_DOES_NOT_SUPPORT_QUANTITY_PRICE_BREAKS
•

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

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 CATALOG_DOES_NOT_EXISTCATALOG_DOES_NOT_EXIST
•

The specified catalog does not exist.

Anchor to CATALOG_MARKET_AND_PRICE_LIST_CURRENCY_MISMATCHCATALOG_MARKET_AND_PRICE_LIST_CURRENCY_MISMATCH
•

The price list currency must match the market catalog currency.

•

Catalog has a price list already assigned.

Anchor to CONTEXT_RULE_COUNTRIES_LIMITCONTEXT_RULE_COUNTRIES_LIMIT
•

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

Anchor to CONTEXT_RULE_COUNTRY_TAKENCONTEXT_RULE_COUNTRY_TAKEN
•

A price list for this country is already taken.

Anchor to CONTEXT_RULE_LIMIT_ONE_OPTIONCONTEXT_RULE_LIMIT_ONE_OPTION
•

Only one context rule option may be specified.

Anchor to CONTEXT_RULE_MARKET_NOT_FOUNDCONTEXT_RULE_MARKET_NOT_FOUND
•

The specified market wasn't found.

Anchor to CONTEXT_RULE_MARKET_TAKENCONTEXT_RULE_MARKET_TAKEN
•

A price list for this market is already taken.

Anchor to COUNTRY_CURRENCY_MISMATCHCOUNTRY_CURRENCY_MISMATCH
•

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

Anchor to COUNTRY_PRICE_LIST_ASSIGNMENTCOUNTRY_PRICE_LIST_ASSIGNMENT
•

A country catalog cannot be assigned to a price list.

Anchor to CURRENCY_COUNTRY_MISMATCHCURRENCY_COUNTRY_MISMATCH
•

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

Anchor to CURRENCY_MARKET_MISMATCHCURRENCY_MARKET_MISMATCH
•

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

Anchor to CURRENCY_NOT_SUPPORTEDCURRENCY_NOT_SUPPORTED
•

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

•

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

•

The input value isn't included in the list.

Anchor to INVALID_ADJUSTMENT_MAX_VALUEINVALID_ADJUSTMENT_MAX_VALUE
•

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

Anchor to INVALID_ADJUSTMENT_MIN_VALUEINVALID_ADJUSTMENT_MIN_VALUE
•

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

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

Anchor to MARKET_CURRENCY_MISMATCHMARKET_CURRENCY_MISMATCH
•

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

•

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

Anchor to PRICE_LIST_NOT_ALLOWED_FOR_PRIMARY_MARKETPRICE_LIST_NOT_ALLOWED_FOR_PRIMARY_MARKET
•

Cannot create price list for a primary market.

Anchor to PRICE_LIST_NOT_FOUNDPRICE_LIST_NOT_FOUND
•

The specified price list doesn't exist.

•

The input value is already taken.

•

The input value is too long.

Anchor to CONTEXT_RULE_LIMIT_REACHEDCONTEXT_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?


Was this section helpful?