Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

Anchor to CatalogUserErrorCode

CatalogUserErrorCode

enum

Possible error codes that can be returned by CatalogUserError.

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

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

Anchor to CANNOT_CREATE_APP_CATALOGCANNOT_CREATE_APP_CATALOG
•

Cannot create a catalog for an app.

Anchor to CANNOT_CREATE_MARKET_CATALOGCANNOT_CREATE_MARKET_CATALOG
•

Cannot create a catalog for a market.

Anchor to CANNOT_DELETE_APP_CATALOGCANNOT_DELETE_APP_CATALOG
•

Cannot delete a catalog for an app.

Anchor to CANNOT_DELETE_MARKET_CATALOGCANNOT_DELETE_MARKET_CATALOG
•

Cannot delete a catalog for a market.

Anchor to CANNOT_MODIFY_APP_CATALOGCANNOT_MODIFY_APP_CATALOG
•

Cannot modify a catalog for an app.

Anchor to CANNOT_MODIFY_MARKET_CATALOGCANNOT_MODIFY_MARKET_CATALOG
•

Cannot modify a catalog for a market.

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

Catalog failed to save.

•

The catalog wasn't found.

Anchor to COMPANY_LOCATION_CATALOG_STATUS_PLANCOMPANY_LOCATION_CATALOG_STATUS_PLAN
•

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

Anchor to COMPANY_LOCATION_NOT_FOUNDCOMPANY_LOCATION_NOT_FOUND
•

The company location could not be found.

Anchor to CONTEXT_ALREADY_ASSIGNED_TO_CATALOGCONTEXT_ALREADY_ASSIGNED_TO_CATALOG
•

Context driver already assigned to this catalog.

Anchor to CONTEXT_CATALOG_LIMIT_REACHEDCONTEXT_CATALOG_LIMIT_REACHED
•

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

Anchor to CONTEXT_DRIVER_MISMATCHCONTEXT_DRIVER_MISMATCH
•

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

Anchor to COUNTRY_PRICE_LIST_ASSIGNMENTCOUNTRY_PRICE_LIST_ASSIGNMENT
•

A country price list cannot be assigned to a catalog.

•

The input value is invalid.

Anchor to INVALID_CATALOG_CONTEXT_TYPEINVALID_CATALOG_CONTEXT_TYPE
•

The catalog context type is invalid.

Anchor to MARKET_AND_PRICE_LIST_CURRENCY_MISMATCHMARKET_AND_PRICE_LIST_CURRENCY_MISMATCH
•

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

Anchor to MARKET_CATALOG_STATUSMARKET_CATALOG_STATUS
•

A market catalog must have an active status.

•

Market not found.

•

Market already belongs to another catalog.

Anchor to MUST_PROVIDE_EXACTLY_ONE_CONTEXT_TYPEMUST_PROVIDE_EXACTLY_ONE_CONTEXT_TYPE
•

Must provide exactly one context type.

Anchor to PRICE_LIST_FAILED_TO_SAVEPRICE_LIST_FAILED_TO_SAVE
•

Price list failed to save.

•

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
•

A price list cannot be assigned to the primary market.

Anchor to PRICE_LIST_NOT_FOUNDPRICE_LIST_NOT_FOUND
•

Price list not found.

Anchor to PUBLICATION_NOT_FOUNDPUBLICATION_NOT_FOUND
•

Publication not found.

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

Anchor to UNSUPPORTED_CATALOG_ACTIONUNSUPPORTED_CATALOG_ACTION
•

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


Was this section helpful?


Was this section helpful?