Skip to main content
enum

Possible error codes that can be returned by MarketUserError.

Anchor to B2B_MARKET_MUST_BE_MERCHANT_MANAGEDB2B_MARKET_MUST_BE_MERCHANT_MANAGED

B2B markets must be merchant managed.

The input value is blank.

Anchor to CANNOT_ADD_CUSTOMER_DOMAINCANNOT_ADD_CUSTOMER_DOMAIN

Can't add customer account domain to a market.

Anchor to CANNOT_ADD_REGIONS_TO_PRIMARY_MARKETCANNOT_ADD_REGIONS_TO_PRIMARY_MARKET

Can't add regions to the primary market.

Anchor to CANNOT_ADD_WEB_PRESENCE_TO_PRIMARY_MARKETCANNOT_ADD_WEB_PRESENCE_TO_PRIMARY_MARKET

Can't add the web presence to the primary market.

Anchor to CANNOT_DELETE_ONLY_REGIONCANNOT_DELETE_ONLY_REGION

Can't delete the only region in a market.

Anchor to CANNOT_DELETE_PRIMARY_MARKETCANNOT_DELETE_PRIMARY_MARKET

Can't delete the primary market.

Anchor to CANNOT_DELETE_PRIMARY_MARKET_WEB_PRESENCECANNOT_DELETE_PRIMARY_MARKET_WEB_PRESENCE

Can't delete the primary market's web presence.

Anchor to CANNOT_DISABLE_PRIMARY_MARKETCANNOT_DISABLE_PRIMARY_MARKET

Can't disable the primary market.

Anchor to CANNOT_HAVE_BOTH_SUBFOLDER_AND_DOMAIN_WEB_PRESENCESCANNOT_HAVE_BOTH_SUBFOLDER_AND_DOMAIN_WEB_PRESENCES

Can't have both subfolder and domain web presences.

Anchor to CANNOT_HAVE_MULTIPLE_SUBFOLDERS_PER_MARKETCANNOT_HAVE_MULTIPLE_SUBFOLDERS_PER_MARKET

Can't have multiple subfolder web presences per market.

Anchor to CANNOT_HAVE_SUBFOLDER_AND_DOMAINCANNOT_HAVE_SUBFOLDER_AND_DOMAIN

Can't pass both subfolderSuffix and domainId.

Anchor to CANNOT_SET_DEFAULT_LOCALE_TO_NULLCANNOT_SET_DEFAULT_LOCALE_TO_NULL

Can't set default locale to null.

Anchor to CATALOG_CONDITION_TYPES_MUST_BE_THE_SAMECATALOG_CONDITION_TYPES_MUST_BE_THE_SAME

Catalog condition types must be the same for all conditions on a catalog.

Anchor to CATALOG_NOT_COMPATIBLE_WITH_CONDITION_TYPESCATALOG_NOT_COMPATIBLE_WITH_CONDITION_TYPES

Catalogs and condition types are not compatible with each other.

Anchor to CATALOG_TYPE_NOT_SUPPORTEDCATALOG_TYPE_NOT_SUPPORTED

A market can only have market catalogs.

Anchor to CATALOGS_WITH_VOLUME_PRICING_OR_QUANTITY_RULES_NOT_SUPPORTEDCATALOGS_WITH_VOLUME_PRICING_OR_QUANTITY_RULES_NOT_SUPPORTED

Catalogs with volume pricing or quantity rules are not supported for the specified condition types.

Anchor to CONDITIONS_NOT_FOUNDCONDITIONS_NOT_FOUND

One or more condition IDs were not found.

Anchor to CONTAINS_REGIONS_THAT_CANNOT_BE_MANAGEDCONTAINS_REGIONS_THAT_CANNOT_BE_MANAGED

Contains regions that cannot be managed.

Anchor to CUSTOMIZATIONS_NOT_FOUNDCUSTOMIZATIONS_NOT_FOUND

One or more customizations were not found.

The language isn't enabled on the store.

Domain was not found.

Duplicates found in languages.

Anchor to DUPLICATE_REGION_MARKETDUPLICATE_REGION_MARKET

Duplicate region market.

Anchor to DUPLICATE_UNIQUE_MARKETDUPLICATE_UNIQUE_MARKET

Duplicate unique market.

Anchor to EXCEEDS_MAX_MULTI_CONTEXT_MARKETSEXCEEDS_MAX_MULTI_CONTEXT_MARKETS

Exceeds max multi-context markets.

An error occurred. See the message for details.

The input value isn't included in the list.

Anchor to INCLUSIVE_PRICING_NOT_COMPATIBLE_WITH_CONDITION_TYPESINCLUSIVE_PRICING_NOT_COMPATIBLE_WITH_CONDITION_TYPES

Inclusive pricing cannot be added to a market with the specified condition types.

Anchor to INCOMPATIBLE_CONDITIONSINCOMPATIBLE_CONDITIONS

The specified conditions are not compatible with each other.

The input value is invalid.

Anchor to INVALID_STATUS_AND_ENABLED_COMBINATIONINVALID_STATUS_AND_ENABLED_COMBINATION

Invalid combination of status and enabled.

Anchor to LOCATION_MATCH_ALL_REQUIRES_ONE_SPECIFIC_REGIONLOCATION_MATCH_ALL_REQUIRES_ONE_SPECIFIC_REGION

Location match all is only valid with one non-match all region.

Anchor to LOCATION_REGION_COUNTRY_MISMATCHLOCATION_REGION_COUNTRY_MISMATCH

A location's country does not match the region's country.

The currency settings of the given market cannot be changed because the market manager has exclusive control of pricing.

Anchor to MANAGED_MARKETS_CATALOG_NOT_ALLOWEDMANAGED_MARKETS_CATALOG_NOT_ALLOWED

Catalogs created by Managed Markets cannot be added to a market.

Anchor to MARKET_CANT_HAVE_DIRECT_CONNECTION_CATALOGMARKET_CANT_HAVE_DIRECT_CONNECTION_CATALOG

A direct connection catalog can't be attached to a market.

The market wasn't found.

Anchor to MARKET_REACHED_WEB_PRESENCE_LIMITMARKET_REACHED_WEB_PRESENCE_LIMIT

Can't add another web presence to the market.

Anchor to MIXED_COUNTRY_LOCATIONS_NOT_ALLOWEDMIXED_COUNTRY_LOCATIONS_NOT_ALLOWED

All retail locations in a market must be in the same country.

Anchor to MULTIPLE_CURRENCIES_NOT_SUPPORTEDMULTIPLE_CURRENCIES_NOT_SUPPORTED

The shop's payment gateway does not support enabling more than one currency.

Anchor to MUST_HAVE_AT_LEAST_ONE_ACTIVE_REGION_MARKETMUST_HAVE_AT_LEAST_ONE_ACTIVE_REGION_MARKET

Can’t delete, disable, or change the type of the last region market.

No languages selected.

Anchor to NO_LOCAL_CURRENCIES_ON_SINGLE_COUNTRY_MARKETNO_LOCAL_CURRENCIES_ON_SINGLE_COUNTRY_MARKET

Can't enable or disable local currencies on a single country market.

Anchor to NO_ROUNDING_ON_LEGACY_MARKETNO_ROUNDING_ON_LEGACY_MARKET

Rounding is not supported if unified markets are not enabled.

Anchor to POS_LOCATION_MARKET_MUST_BE_MERCHANT_MANAGEDPOS_LOCATION_MARKET_MUST_BE_MERCHANT_MANAGED

POS location markets must be merchant managed.

Anchor to PRIMARY_MARKET_MUST_USE_PRIMARY_DOMAINPRIMARY_MARKET_MUST_USE_PRIMARY_DOMAIN

The primary market must use the primary domain.

The market region wasn't found.

Anchor to REGION_SPECIFIC_LANGUAGEREGION_SPECIFIC_LANGUAGE

Cannot add region-specific language.

Anchor to REQUIRES_DOMAIN_OR_SUBFOLDERREQUIRES_DOMAIN_OR_SUBFOLDER

One of subfolderSuffix or domainId is required.

Anchor to REQUIRES_EXACTLY_ONE_OPTIONREQUIRES_EXACTLY_ONE_OPTION

Exactly one input option is required.

Anchor to RETAIL_LOCATION_CURRENCY_MUST_BE_LOCALRETAIL_LOCATION_CURRENCY_MUST_BE_LOCAL

Retail location currency must be local.

Anchor to SHOP_MUST_HAVE_PRIMARY_DOMAIN_WEB_PRESENCESHOP_MUST_HAVE_PRIMARY_DOMAIN_WEB_PRESENCE

The shop must have a web presence that uses the primary domain.

Anchor to SHOP_REACHED_MARKETS_LIMITSHOP_REACHED_MARKETS_LIMIT

Can't have more than 50 markets.

Anchor to SPECIFIED_CONDITIONS_CANNOT_BE_EMPTYSPECIFIED_CONDITIONS_CANNOT_BE_EMPTY

Specified conditions cannot be empty.

Anchor to SPECIFIED_NOT_VALID_FOR_INPUTSPECIFIED_NOT_VALID_FOR_INPUT

With an ID list in input, SPECIFIED is not needed.

Anchor to SUBFOLDER_SUFFIX_CANNOT_BE_SCRIPT_CODESUBFOLDER_SUFFIX_CANNOT_BE_SCRIPT_CODE

The subfolder suffix is invalid, please provide a different value.

Anchor to SUBFOLDER_SUFFIX_MUST_CONTAIN_ONLY_LETTERSSUBFOLDER_SUFFIX_MUST_CONTAIN_ONLY_LETTERS

The subfolder suffix must contain only letters.

The input value is already taken.

The input value is too long.

The input value is too short.

Anchor to UNIFIED_MARKETS_NOT_ENABLEDUNIFIED_MARKETS_NOT_ENABLED

Unified markets are not enabled.

Anchor to UNPUBLISHED_LANGUAGEUNPUBLISHED_LANGUAGE

The language isn't published to the store.

Anchor to UNSUPPORTED_COUNTRY_REGIONUNSUPPORTED_COUNTRY_REGION

Can't add unsupported country or region.

Anchor to UNSUPPORTED_CURRENCYUNSUPPORTED_CURRENCY

The specified currency is not supported.

Anchor to USER_LACKS_PERMISSIONUSER_LACKS_PERMISSION

The user doesn't have permission access to create or edit markets.

Anchor to WEB_PRESENCE_NOT_COMPATIBLE_WITH_CONDITION_TYPESWEB_PRESENCE_NOT_COMPATIBLE_WITH_CONDITION_TYPES

Web presences and condition types are not compatible with each other.

Anchor to WEB_PRESENCE_NOT_FOUNDWEB_PRESENCE_NOT_FOUND

The market web presence wasn't found.

Anchor to WEB_PRESENCE_REACHED_MARKETS_LIMITWEB_PRESENCE_REACHED_MARKETS_LIMIT

Can't add web presence to the another market.

Anchor to WILDCARD_NOT_SUPPORTEDWILDCARD_NOT_SUPPORTED

Matching ALL or NONE isn't supported for this driver type.


Was this section helpful?


Was this section helpful?