Anchor to section titled 'undefined'

CatalogUserErrorCode
enum

Possible error codes that can be returned by CatalogUserError.


value-appcatalogpricelistassignment
APP_CATALOG_PRICE_LIST_ASSIGNMENT

An app catalog cannot be assigned to a price list.

The input value is blank.

value-cannotaddmorethanonemarket
CANNOT_ADD_MORE_THAN_ONE_MARKET

The catalog can't be associated with more than one market.

value-cannotcreateappcatalog
CANNOT_CREATE_APP_CATALOG

Cannot create a catalog for an app.

value-cannotcreatemarketcatalog
CANNOT_CREATE_MARKET_CATALOG

Cannot create a catalog for a market.

value-cannotdeleteappcatalog
CANNOT_DELETE_APP_CATALOG

Cannot delete a catalog for an app.

value-cannotdeletemarketcatalog
CANNOT_DELETE_MARKET_CATALOG

Cannot delete a catalog for a market.

value-cannotmodifyappcatalog
CANNOT_MODIFY_APP_CATALOG

Cannot modify a catalog for an app.

value-cannotmodifymarketcatalog
CANNOT_MODIFY_MARKET_CATALOG

Cannot modify a catalog for a market.

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-catalogfailedtosave
CATALOG_FAILED_TO_SAVE

Catalog failed to save.

value-catalognotfound
CATALOG_NOT_FOUND

The catalog wasn't found.

value-companylocationcatalogstatusplan
COMPANY_LOCATION_CATALOG_STATUS_PLAN

A company location catalog outside of a supported plan can only have an archived status.

value-companylocationnotfound
COMPANY_LOCATION_NOT_FOUND

The company location could not be found.

value-contextalreadyassignedtocatalog
CONTEXT_ALREADY_ASSIGNED_TO_CATALOG

Context driver already assigned to this catalog.

value-contextcataloglimitreached
CONTEXT_CATALOG_LIMIT_REACHED

Cannot save the catalog because the catalog limit for the context was reached.

value-contextdrivermismatch
CONTEXT_DRIVER_MISMATCH

The arguments contextsToAdd and contextsToRemove must match existing catalog context type.

value-countrypricelistassignment
COUNTRY_PRICE_LIST_ASSIGNMENT

A country price list cannot be assigned to a catalog.

The input value is invalid.

value-invalidcatalogcontexttype
INVALID_CATALOG_CONTEXT_TYPE

The catalog context type is invalid.

value-marketandpricelistcurrencymismatch
MARKET_AND_PRICE_LIST_CURRENCY_MISMATCH

The catalog's market and price list currencies do not match.

value-marketcatalogstatus
MARKET_CATALOG_STATUS

A market catalog must have an active status.

value-marketnotfound
MARKET_NOT_FOUND

Market not found.

value-markettaken
MARKET_TAKEN

Market already belongs to another catalog.

value-mustprovideexactlyonecontexttype
MUST_PROVIDE_EXACTLY_ONE_CONTEXT_TYPE

Must provide exactly one context type.

value-pricelistfailedtosave
PRICE_LIST_FAILED_TO_SAVE

Price list failed to save.

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

A price list cannot be assigned to the primary market.

value-pricelistnotfound
PRICE_LIST_NOT_FOUND

Price list not found.

value-publicationnotfound
PUBLICATION_NOT_FOUND

Publication not found.

value-requirescontextstoaddorremove
REQUIRES_CONTEXTS_TO_ADD_OR_REMOVE

Must have contexts_to_add or contexts_to_remove argument.

The input value is already taken.

The input value is too long.

The input value is too short.

value-unsupportedcatalogaction
UNSUPPORTED_CATALOG_ACTION

Can't perform this action on a catalog of this type.


Was this section helpful?

The error code.


Was this section helpful?
Map
CatalogUserErrorCode

Fields from